projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18257: Adds checks to array values thay may be null or undefined.
[arvados-workbench2.git]
/
src
/
views
/
run-process-panel
/
run-process-basic-form.tsx
diff --git
a/src/views/run-process-panel/run-process-basic-form.tsx
b/src/views/run-process-panel/run-process-basic-form.tsx
index 2739824edc0c4faeba387d25e282ba5687822b5f..13d882ba3ca874ea63df48735c2e6504a29f95d6 100644
(file)
--- a/
src/views/run-process-panel/run-process-basic-form.tsx
+++ b/
src/views/run-process-panel/run-process-basic-form.tsx
@@
-2,11
+2,11
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import
* as
React from 'react';
+import React from 'react';
import { reduxForm, Field } from 'redux-form';
import { Grid } from '@material-ui/core';
import { reduxForm, Field } from 'redux-form';
import { Grid } from '@material-ui/core';
-import { TextField } from '
~/
components/text-field/text-field';
-import { PROCESS_NAME_VALIDATION } from '
~/
validators/validators';
+import { TextField } from 'components/text-field/text-field';
+import { PROCESS_NAME_VALIDATION } from 'validators/validators';
export const RUN_PROCESS_BASIC_FORM = 'runProcessBasicForm';
export const RUN_PROCESS_BASIC_FORM = 'runProcessBasicForm';
@@
-23,7
+23,7
@@
export const RunProcessBasicForm =
<Grid item xs={12} md={6}>
<Field
name='name'
<Grid item xs={12} md={6}>
<Field
name='name'
- component={TextField}
+ component={TextField
as any
}
label="Enter a new name for run process"
required
validate={PROCESS_NAME_VALIDATION} />
label="Enter a new name for run process"
required
validate={PROCESS_NAME_VALIDATION} />
@@
-31,7
+31,7
@@
export const RunProcessBasicForm =
<Grid item xs={12} md={6}>
<Field
name='description'
<Grid item xs={12} md={6}>
<Field
name='description'
- component={TextField}
+ component={TextField
as any
}
label="Enter a description for run process" />
</Grid>
</Grid>
label="Enter a description for run process" />
</Grid>
</Grid>