diff --git a/awx/ui/src/components/Lookup/InventoryLookup.js b/awx/ui/src/components/Lookup/InventoryLookup.js index 997f18c752..e37805451d 100644 --- a/awx/ui/src/components/Lookup/InventoryLookup.js +++ b/awx/ui/src/components/Lookup/InventoryLookup.js @@ -26,7 +26,6 @@ function InventoryLookup({ hideSmartInventories, history, isDisabled, - isOverrideDisabled, isPromptableField, onBlur, onChange, @@ -120,7 +119,7 @@ function InventoryLookup({ label={t`Inventory`} promptId={promptId} promptName={promptName} - isDisabled={isOverrideDisabled || isDisabled} + isDisabled={isDisabled} tooltip={t`Select the inventory containing the hosts you want this job to manage.`} > @@ -136,7 +135,7 @@ function InventoryLookup({ fieldName={fieldName} validate={validate} isLoading={isLoading} - isDisabled={isOverrideDisabled || isDisabled} + isDisabled={isDisabled} qsConfig={QS_CONFIG} renderOptionsList={({ state, dispatch, canDelete }) => ( ( {}, value: null, diff --git a/awx/ui/src/components/Lookup/InventoryLookup.test.js b/awx/ui/src/components/Lookup/InventoryLookup.test.js index 7c20846d32..120b4927e9 100644 --- a/awx/ui/src/components/Lookup/InventoryLookup.test.js +++ b/awx/ui/src/components/Lookup/InventoryLookup.test.js @@ -99,7 +99,7 @@ describe('InventoryLookup', () => { await act(async () => { wrapper = mountWithContexts( - {}} /> + {}} /> ); }); @@ -121,7 +121,7 @@ describe('InventoryLookup', () => { await act(async () => { wrapper = mountWithContexts( - {}} /> + {}} /> ); }); diff --git a/awx/ui/src/screens/Template/shared/WorkflowJobTemplateForm.js b/awx/ui/src/screens/Template/shared/WorkflowJobTemplateForm.js index a8f74cefe5..70146b2889 100644 --- a/awx/ui/src/screens/Template/shared/WorkflowJobTemplateForm.js +++ b/awx/ui/src/screens/Template/shared/WorkflowJobTemplateForm.js @@ -151,7 +151,7 @@ function WorkflowJobTemplateForm({ onChange={handleInventoryUpdate} touched={inventoryMeta.touched} error={inventoryMeta.error} - isOverrideDisabled={isInventoryDisabled} + isDisabled={isInventoryDisabled} />