From f624f89ad858925823428beacf415cfd4cae3e4c Mon Sep 17 00:00:00 2001 From: Ezhilarasi Date: Thu, 14 Mar 2019 13:12:55 +0530 Subject: Velocity mode support Change-Id: I6814b57d117fed267bbb39988ca2e6f4ea7f7c49 Issue-ID: CCSDK-707 Signed-off-by: Ezhilarasi --- .../blueprint/modify-template/editor/editor.component.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cds-ui/client') 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"); } } } -- cgit 1.2.3-korg