projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove SshKey interface and change object type
[arvados-workbench2.git]
/
src
/
views
/
run-process-panel
/
inputs
/
file-input.tsx
diff --git
a/src/views/run-process-panel/inputs/file-input.tsx
b/src/views/run-process-panel/inputs/file-input.tsx
index f5d3d9391d44cc5f633ae2332cef1c92939995ad..7e0925e8e9e175481887c1c9988be0eee329f82e 100644
(file)
--- a/
src/views/run-process-panel/inputs/file-input.tsx
+++ b/
src/views/run-process-panel/inputs/file-input.tsx
@@
-91,10
+91,11
@@
const FileInputComponent = connect()(
<Input
readOnly
fullWidth
<Input
readOnly
fullWidth
+ disabled={props.commandInput.disabled}
value={props.input.value}
error={props.meta.touched && !!props.meta.error}
value={props.input.value}
error={props.meta.touched && !!props.meta.error}
- onClick={
this.openDialog
}
- onKeyPress={
this.openDialog
} />}
+ onClick={
!props.commandInput.disabled ? this.openDialog : undefined
}
+ onKeyPress={
!props.commandInput.disabled ? this.openDialog : undefined
} />}
{...this.props} />;
}
{...this.props} />;
}