mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 20:07:37 -02:30
Merge pull request #5344 from ansible/ui_issue_5339
Do not show control instances as option to be associated
This commit is contained in:
@@ -147,7 +147,10 @@ function InstanceList() {
|
|||||||
const fetchInstancesToAssociate = useCallback(
|
const fetchInstancesToAssociate = useCallback(
|
||||||
(params) =>
|
(params) =>
|
||||||
InstancesAPI.read(
|
InstancesAPI.read(
|
||||||
mergeParams(params, { not__rampart_groups__id: instanceGroupId })
|
mergeParams(params, {
|
||||||
|
...{ not__rampart_groups__id: instanceGroupId },
|
||||||
|
...{ not__node_type: 'control' },
|
||||||
|
})
|
||||||
),
|
),
|
||||||
[instanceGroupId]
|
[instanceGroupId]
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user