summaryrefslogtreecommitdiffstats
path: root/gui/app/scripts/controllers/main.js
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-08-16 03:37:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-16 03:37:59 +0000
commit4a5bc16d841221e8ac7853b3044e50af0c8143d2 (patch)
treed84f869319b9ef5d209f4b845e98b5164de54816 /gui/app/scripts/controllers/main.js
parentbf15098782f77d750313a60cb2d4ae61529b369d (diff)
parent9915eca37c459c121c7bee0e0a249eaa498b6d4d (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.js8
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 = [];