mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-16 07:48:38 -05:00
AC-1024 Hosts deletes now work as described in the ticket. Removing a host from a group removes it from the selected group and its children. Removing a host from a group does still leave it in All Hosts, and this is explained in the dialog prompt. Removing it from All Hosts permanently deletes it, again explained in the dialog prompt.
This commit is contained in:
@@ -484,6 +484,9 @@ function InventoriesEdit($scope, $location, $routeParams, $compile, GenerateList
|
||||
$scope.groups[i].active_class = '';
|
||||
}
|
||||
}
|
||||
if (Empty($scope.inventory_id)) {
|
||||
$scope.inventory_id = $scope.groups[0].inentory_id;
|
||||
}
|
||||
HostsReload({
|
||||
scope: $scope,
|
||||
group_id: group_id,
|
||||
|
||||
Reference in New Issue
Block a user