aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");
}
}
}