Skip to content

Commit

Permalink
fix linting errors and add note to host groups disassocation modal
Browse files Browse the repository at this point in the history
  • Loading branch information
John Mitchell authored and John Mitchell committed Apr 6, 2020
1 parent 3a911a5 commit 350a6d6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 0 additions & 1 deletion awx/ui_next/src/api/models/Hosts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Base from '../Base';
import { TintSlashIcon } from '@patternfly/react-icons';

class Hosts extends Base {
constructor(http) {
Expand Down
6 changes: 6 additions & 0 deletions awx/ui_next/src/screens/Host/HostGroups/HostGroupsList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,12 @@ function HostGroupsList({ i18n, location, match, host }) {
onDisassociate={handleDisassociate}
itemsToDisassociate={selected}
modalTitle={i18n._(t`Disassociate group from host?`)}
modalNote={i18n._(t`
Note that you may still see the group in the list after
disassociating if the host is also a member of that group’s
children. This list shows all groups the host is associated
with directly and indirectly.
`)}
/>,
]}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@ function InventoryHostGroupsList({ i18n, location, match }) {
onDisassociate={handleDisassociate}
itemsToDisassociate={selected}
modalTitle={i18n._(t`Disassociate group from host?`)}
modalNote={i18n._(t`
Note that you may still see the group in the list after
disassociating if the host is also a member of that group’s
children. This list shows all groups the host is associated
with directly and indirectly.
`)}
/>,
]}
/>
Expand Down

0 comments on commit 350a6d6

Please sign in to comment.