summaryrefslogtreecommitdiffstats
path: root/vbd/gui/module/src/main/resources/vpp/controllers/inventory.controller.js
diff options
context:
space:
mode:
authorVarun Seereeram <vseereer@cisco.com>2016-02-07 02:59:07 -0800
committerDaniel Malachovsky <daniel.malachovsky@pantheon.sk>2016-02-07 18:48:11 +0000
commitf5e3e98d5c14252db91b8642028728553b43baca (patch)
treee649a4dc6fc326bd2f39475d6ca359d96b322952 /vbd/gui/module/src/main/resources/vpp/controllers/inventory.controller.js
parentdf53da6e0a476db6c0e46b9d5e6c2b5d620c600a (diff)
Inventory rework
- ui-grid replaces by smart-table - dark theme setted - orange buttons added Change-Id: I2afe3231a1e889a1d23056242167cad65cbfae11 Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk> Signed-off-by: Varun Seereeram <vseereer@cisco.com>
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) {