Merge pull request #5344 from ansible/ui_issue_5339

Do not show control instances as option to be associated
This commit is contained in:
Tiago Góes
2021-10-18 16:05:21 -03:00
committed by GitHub

View File

@@ -147,7 +147,10 @@ function InstanceList() {
const fetchInstancesToAssociate = useCallback(
(params) =>
InstancesAPI.read(
mergeParams(params, { not__rampart_groups__id: instanceGroupId })
mergeParams(params, {
...{ not__rampart_groups__id: instanceGroupId },
...{ not__node_type: 'control' },
})
),
[instanceGroupId]
);