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:
commit
ebaabcfbd9
@ -12,7 +12,7 @@ export default {
|
||||
activityStreamTarget: 'inventory',
|
||||
socket: {
|
||||
"groups": {
|
||||
"inventories": ["status_changed"]
|
||||
inventories: ["status_changed"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -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});
|
||||
}
|
||||
|
@ -17,7 +17,8 @@ export default {
|
||||
data: {
|
||||
socket: {
|
||||
groups: {
|
||||
jobs: ["status_changed"]
|
||||
jobs: ["status_changed"],
|
||||
inventories: ["status_changed"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user