mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
removes asterisk from wfjt form inventory field
This commit is contained in:
parent
b6a55e53d5
commit
60ccdfa4e6
@ -126,7 +126,6 @@ function WorkflowJobTemplateForm({
|
||||
onChange={value => {
|
||||
inventoryHelpers.setValue(value);
|
||||
}}
|
||||
required={!askInventoryOnLaunchField.value}
|
||||
touched={inventoryMeta.touched}
|
||||
error={inventoryMeta.error}
|
||||
/>
|
||||
|
||||
@ -264,4 +264,8 @@ describe('<WorkflowJobTemplateForm/>', () => {
|
||||
|
||||
expect(handleCancel).toBeCalled();
|
||||
});
|
||||
|
||||
test('should not show inventory field as required', () => {
|
||||
expect(wrapper.find('InventoryLookup').prop('required')).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user