1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

Merge pull request #2537 from jaredevantabor/fix-2510

Subscribes the Sources list to the inventory group for pending deletes
This commit is contained in:
Jared Tabor 2018-07-16 09:14:46 -07:00 committed by GitHub
commit ebaabcfbd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -12,7 +12,7 @@ export default {
activityStreamTarget: 'inventory',
socket: {
"groups": {
"inventories": ["status_changed"]
inventories: ["status_changed"]
}
}
},

View File

@ -164,7 +164,7 @@ function InventoriesList($scope,
}
if (parseInt($state.params.inventory_id) === data.inventory_id || parseInt($state.params.smartinventory_id) === data.inventory_id) {
$state.go("^", reloadListStateParams, {reload: true});
$state.go("inventories", reloadListStateParams, {reload: true});
} else {
$state.go('.', reloadListStateParams, {reload: true});
}

View File

@ -17,7 +17,8 @@ export default {
data: {
socket: {
groups: {
jobs: ["status_changed"]
jobs: ["status_changed"],
inventories: ["status_changed"]
}
}
},