mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Subscribes the Sources list to both the inventory group for pending deletes
It was subscribed to the jobs group, for source sync updates, but now it is subscribed to that group and the inventory group for pending deletes.
This commit is contained in:
parent
62967b2806
commit
0d089b8cbf
@ -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…
x
Reference in New Issue
Block a user