diff --git a/awx/ui_next/src/screens/Organization/shared/OrganizationForm.jsx b/awx/ui_next/src/screens/Organization/shared/OrganizationForm.jsx index eb46f8c5cc..54f67c4f3c 100644 --- a/awx/ui_next/src/screens/Organization/shared/OrganizationForm.jsx +++ b/awx/ui_next/src/screens/Organization/shared/OrganizationForm.jsx @@ -21,7 +21,12 @@ import { required, minMaxValue } from '../../../util/validators'; import { FormColumnLayout } from '../../../components/FormLayout'; import CredentialLookup from '../../../components/Lookup/CredentialLookup'; -function OrganizationFormFields({ i18n, instanceGroups, setInstanceGroups }) { +function OrganizationFormFields({ + i18n, + instanceGroups, + setInstanceGroups, + organizationId, +}) { const { license_info = {}, me = {} } = useConfig(); const { custom_virtualenvs } = useContext(ConfigContext); @@ -124,6 +129,7 @@ function OrganizationFormFields({ i18n, instanceGroups, setInstanceGroups }) { t`Select the default execution environment for this organization.` )} globallyAvailable + organizationId={organizationId} isDefaultEnvironment /> @@ -245,6 +252,7 @@ OrganizationForm.propTypes = { OrganizationForm.defaultProps = { organization: { + id: '', name: '', description: '', max_hosts: '0',