summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp/app/vid/scripts/controller/testEnvironmentsController.js
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/main/webapp/app/vid/scripts/controller/testEnvironmentsController.js')
-rw-r--r--vid-app-common/src/main/webapp/app/vid/scripts/controller/testEnvironmentsController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/testEnvironmentsController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/testEnvironmentsController.js
index c81dc8721..94486905a 100644
--- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/testEnvironmentsController.js
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/testEnvironmentsController.js
@@ -101,11 +101,11 @@
};
vm.isEnvActive = function(testEnv) {
- return testEnv.operationalEnvironmentStatus==='Activate';
+ return testEnv.operationalEnvironmentStatus==='ACTIVE';
};
vm.getEnvStatus = function (testEnv) {
- return this.isEnvActive(testEnv) ? "Active" : "Inactive";
+ return testEnv.operationalEnvironmentStatus;
};
vm.createNewTestEnvironment = function() {