mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 16:47:45 -02:30
hide groups that host is already associated with on relevant lists
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
$scope.associate_group_queryset.not__id = $state.params.group_id;
|
||||
$scope.associate_group_default_params.not__parents = $state.params.group_id;
|
||||
$scope.associate_group_queryset.not__parents = $state.params.group_id;
|
||||
} else if ($state.params.host_id) {
|
||||
$scope.associate_group_default_params.not__hosts = $state.params.host_id;
|
||||
$scope.associate_group_queryset.not__hosts = $state.params.host_id;
|
||||
}
|
||||
|
||||
let list = _.cloneDeep(GroupList);
|
||||
|
||||
Reference in New Issue
Block a user