summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-03-14 20:15:21 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-14 20:15:21 +0000
commitc4f2b6a32dfb173ca30206430c00dcb52179b314 (patch)
tree27dc9db3297b51c52f36c883d1892f316954b447
parentd8e68cb1c0c6367682ebb8f5a840046d7459a81f (diff)
parentf624f89ad858925823428beacf415cfd4cae3e4c (diff)
Merge "Velocity mode support"
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts
index 37ac522af..7203dc8b3 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts
+++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts
@@ -217,15 +217,12 @@ export class EditorComponent implements OnInit {
setEditorMode() {
switch (this.fileExtension) {
case "xml":
- // console.log("xml mode set");
this.mode = 'xml';
break;
case "py":
- console.log("python mode set");
this.mode = 'python';
break;
case "kts":
- // console.log("kotlin mode set");
this.mode = 'kotlin';
break;
case "txt":
@@ -234,9 +231,11 @@ export class EditorComponent implements OnInit {
case "meta":
this.mode = 'text';
break;
+ case "vtl":
+ this.mode = 'velocity';
+ break;
default:
this.mode = 'json';
- console.log("json mode set");
}
}
}