Add Semicolon at the end 64/95064/1
authoranushadasari <danush10@in.ibm.com>
Thu, 5 Sep 2019 16:12:19 +0000 (21:42 +0530)
committeranushadasari <danush10@in.ibm.com>
Thu, 5 Sep 2019 16:12:32 +0000 (21:42 +0530)
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: I53b2e7a540b88b3e04d9169670d1fc6b4a32c6e8
Signed-off-by: anushadasari <danush10@in.ibm.com>
vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js

index 15c57f7..bcac579 100644 (file)
                 vm.content = jobInfo.message;
                 vm.mode = jobInfo.status;
                 if (vm.mode == "failed") {
-                    vm.Header = "Failed"
+                    vm.Header = "Failed";
                 } else if (vm.mode == "confirm") {
-                    vm.Header = "Confirm"
+                    vm.Header = "Confirm";
                 } else {
-                    vm.Header = "Success"
+                    vm.Header = "Success";
                 }
             }
         };