Enables smart inventories to be shown on the network UI

This commit is contained in:
Jared Tabor
2018-06-19 12:59:12 -07:00
parent afb214b8d4
commit c02c92890c
9 changed files with 59 additions and 64 deletions

View File

@@ -42,7 +42,7 @@ var NetworkUIController = function($scope,
$scope.topology_id = 0;
// Create a web socket to connect to the backend server
$scope.inventory_id = $state.params.inventory_id;
$scope.inventory_id = $scope.$parent.$resolve.inventory.id;
var protocol = null;
@@ -153,7 +153,7 @@ var NetworkUIController = function($scope,
from_y: 0,
to_x: 0,
to_y: 0};
$scope.canEdit = $scope.$parent.$resolve.resolvedModels.canEdit;
$scope.canEdit = $scope.$parent.$resolve.canEdit;
$scope.strings = awxNetStrings;
$scope.send_trace_message = function (message) {
if (!$scope.recording) {