mirror of
https://github.com/ansible/awx.git
synced 2026-08-03 11:30:00 -02:30
Add remove role functionality.
This commit is contained in:
@@ -171,7 +171,7 @@ class OrganizationEdit extends Component {
|
||||
await api.associateInstanceGroup(url, id);
|
||||
}));
|
||||
await Promise.all(groupsToDisassociate.map(async id => {
|
||||
await api.disassociateInstanceGroup(url, id);
|
||||
await api.disassociate(url, id);
|
||||
}));
|
||||
} catch (err) {
|
||||
this.setState({ error: err });
|
||||
|
||||
Reference in New Issue
Block a user