summaryrefslogtreecommitdiffstats
path: root/vbd/gui/module/src/main/resources/vpp/controllers/inventory.controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'vbd/gui/module/src/main/resources/vpp/controllers/inventory.controller.js')
-rw-r--r--vbd/gui/module/src/main/resources/vpp/controllers/inventory.controller.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/vbd/gui/module/src/main/resources/vpp/controllers/inventory.controller.js b/vbd/gui/module/src/main/resources/vpp/controllers/inventory.controller.js
index 8d85cc704..c579796e2 100644
--- a/vbd/gui/module/src/main/resources/vpp/controllers/inventory.controller.js
+++ b/vbd/gui/module/src/main/resources/vpp/controllers/inventory.controller.js
@@ -18,6 +18,8 @@ define(['app/vpp/vpp.module'], function(vpp) {
// success callback
function(data) {
$scope.vppList = data;
+ $scope.displayVppList = [].concat($scope.vppList);
+
$scope.$broadcast('RELOAD_VPP_TABLE');
},
// error callback
@@ -29,6 +31,10 @@ define(['app/vpp/vpp.module'], function(vpp) {
$scope.initVppList = function() {
$scope.vppList = [];
+ $scope.displayVppList = [];
+
+ //setting reference for vpp access in BDM
+ dataService.vpps = $scope.vppList;
};
$scope.viewTopology = function(vpp) {