mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 11:50:42 -03:30
hide groups that host is already associated with on relevant lists
This commit is contained in:
parent
50079c0441
commit
7791c5f5ba
@ -23,11 +23,14 @@
|
||||
page_size: 5
|
||||
};
|
||||
|
||||
if($state.params.group_id) {
|
||||
if ($state.params.group_id) {
|
||||
$scope.associate_group_default_params.not__id = $state.params.group_id;
|
||||
$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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user