mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
fix linting errors and add note to host groups disassocation modal
This commit is contained in:
parent
4e64b17712
commit
7dbde8d82c
@ -1,5 +1,4 @@
|
||||
import Base from '../Base';
|
||||
import { TintSlashIcon } from '@patternfly/react-icons';
|
||||
|
||||
class Hosts extends Base {
|
||||
constructor(http) {
|
||||
|
||||
@ -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.
|
||||
`)}
|
||||
/>,
|
||||
]}
|
||||
/>
|
||||
|
||||
@ -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.
|
||||
`)}
|
||||
/>,
|
||||
]}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user