diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-08-16 03:37:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-16 03:37:59 +0000 |
commit | 4a5bc16d841221e8ac7853b3044e50af0c8143d2 (patch) | |
tree | d84f869319b9ef5d209f4b845e98b5164de54816 /gui/app/scripts/controllers/main.js | |
parent | bf15098782f77d750313a60cb2d4ae61529b369d (diff) | |
parent | 9915eca37c459c121c7bee0e0a249eaa498b6d4d (diff) |
Merge "Remove redundancy file and do relative modification"
Diffstat (limited to 'gui/app/scripts/controllers/main.js')
-rw-r--r-- | gui/app/scripts/controllers/main.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gui/app/scripts/controllers/main.js b/gui/app/scripts/controllers/main.js index e3e880e62..ab76bf0f2 100644 --- a/gui/app/scripts/controllers/main.js +++ b/gui/app/scripts/controllers/main.js @@ -18,11 +18,7 @@ angular.module('yardStickGui2App') $scope.showNextPod = null; $scope.displayContainerInfo = []; $scope.containerList = [{ value: 'create_influxdb', name: "InfluxDB" }, { value: 'create_grafana', name: "Grafana" }] - $scope.items = [ - 'The first choice!', - 'And another choice for you.', - 'but wait! A third!' - ]; + $scope.$on('$destroy', function() { $interval.cancel($scope.intervalImgae) }); @@ -381,7 +377,7 @@ angular.module('yardStickGui2App') $scope.goBack = function goBack() { - $state.go('app2.projectList'); + $state.go('app.projectList'); } $scope.displayContainerInfo = []; |