mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Update strings
Update strings
This commit is contained in:
parent
8a5fd11506
commit
0b4c3e3046
@ -52,13 +52,13 @@ export default function useAdHocDetailsStep(
|
||||
validate: () => {
|
||||
if (Object.keys(touched).includes('module_name' || 'module_args')) {
|
||||
if (!values.module_name) {
|
||||
setFieldError('module_name', t`This field is must not be blank.`);
|
||||
setFieldError('module_name', t`This field must not be blank.`);
|
||||
}
|
||||
if (
|
||||
values.module_name === ('command' || 'shell') &&
|
||||
!values.module_args
|
||||
) {
|
||||
setFieldError('module_args', t`This field is must not be blank`);
|
||||
setFieldError('module_args', t`This field must not be blank`);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user