diff --git a/awx/ui_next/src/components/AlertModal/AlertModal.jsx b/awx/ui_next/src/components/AlertModal/AlertModal.jsx index 70ed49ab1f..c139c9ea40 100644 --- a/awx/ui_next/src/components/AlertModal/AlertModal.jsx +++ b/awx/ui_next/src/components/AlertModal/AlertModal.jsx @@ -63,7 +63,9 @@ function AlertModal({ const customHeader = (
{variant ? variantIcons[variant] : null} - {title} + + {title} +
); diff --git a/awx/ui_next/src/components/AnsibleSelect/AnsibleSelect.jsx b/awx/ui_next/src/components/AnsibleSelect/AnsibleSelect.jsx index 69fd9e40bf..4f49268c0a 100644 --- a/awx/ui_next/src/components/AnsibleSelect/AnsibleSelect.jsx +++ b/awx/ui_next/src/components/AnsibleSelect/AnsibleSelect.jsx @@ -43,7 +43,7 @@ class AnsibleSelect extends React.Component { onChange={this.onSelectChange} onBlur={onBlur} aria-label={i18n._(t`Select Input`)} - validated={(isValid) ? 'default' : 'error'} + validated={isValid ? 'default' : 'error'} className={className} isDisabled={isDisabled} > diff --git a/awx/ui_next/src/components/AssociateModal/AssociateModal.jsx b/awx/ui_next/src/components/AssociateModal/AssociateModal.jsx index 94fe8330bb..f084f7e719 100644 --- a/awx/ui_next/src/components/AssociateModal/AssociateModal.jsx +++ b/awx/ui_next/src/components/AssociateModal/AssociateModal.jsx @@ -74,7 +74,6 @@ function AssociateModal({ return ( ( - {title || i18n._(t`No items found.`)} + + {title || i18n._(t`No items found.`)} + {message} ); diff --git a/awx/ui_next/src/components/DataListToolbar/DataListToolbar.jsx b/awx/ui_next/src/components/DataListToolbar/DataListToolbar.jsx index 4f804ba966..6fdffcfc41 100644 --- a/awx/ui_next/src/components/DataListToolbar/DataListToolbar.jsx +++ b/awx/ui_next/src/components/DataListToolbar/DataListToolbar.jsx @@ -9,7 +9,7 @@ import { ToolbarGroup as _ToolbarGroup, ToolbarItem, ToolbarToggleGroup, - } from '@patternfly/react-core'; +} from '@patternfly/react-core'; import { SearchIcon } from '@patternfly/react-icons'; import ExpandCollapse from '../ExpandCollapse'; import Search from '../Search'; diff --git a/awx/ui_next/src/components/FormField/FormField.jsx b/awx/ui_next/src/components/FormField/FormField.jsx index c9ce488044..0efa21887a 100644 --- a/awx/ui_next/src/components/FormField/FormField.jsx +++ b/awx/ui_next/src/components/FormField/FormField.jsx @@ -29,14 +29,14 @@ function FormField(props) { helperText={helperText} helperTextInvalid={meta.error} isRequired={isRequired} - validated={(isValid) ? 'default' : 'error'} + validated={isValid ? 'default' : 'error'} label={label} >