From: anushadasari Date: Tue, 10 Sep 2019 16:07:35 +0000 (+0530) Subject: Add a semicolon at the end of this statement. X-Git-Tag: 6.0.1~288 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=1ffc2b793c7b4e7c89628973c498d6d6f85d9c1f;p=vid.git Add a semicolon at the end of this statement. In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-607 Change-Id: I1fd965413585256c09e61c2a19b0651800e65eab Signed-off-by: anushadasari --- diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-test-environment/new-test-environment.controller.js b/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-test-environment/new-test-environment.controller.js index 352fa2019..74bbb8840 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-test-environment/new-test-environment.controller.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-test-environment/new-test-environment.controller.js @@ -55,7 +55,7 @@ vm.releaseVersions = response["release"].map(function (releaseOptions){ return releaseOptions.name;}); },COMPONENT.TENANT_ISOLATION_FAMILY); - } + }; vm.setEcompEnvironment = function (selectedIndex) { @@ -82,7 +82,7 @@ }; vm.isShowReleaseEnabled = function () { - return featureFlags.isOn(COMPONENT.FEATURE_FLAGS.FLAG_1908_RELEASE_TENANT_ISOLATION) + return featureFlags.isOn(COMPONENT.FEATURE_FLAGS.FLAG_1908_RELEASE_TENANT_ISOLATION); }; init();