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:
Jared Tabor 2018-07-13 16:17:55 -07:00
parent 62967b2806
commit 0d089b8cbf
No known key found for this signature in database
GPG Key ID: CC50E67C506270C9
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"]
}
}
},