From 0924c4da768d1119a17936933606a38de6526b52 Mon Sep 17 00:00:00 2001 From: Ezhilarasi Date: Tue, 7 May 2019 16:21:22 +0530 Subject: Bug fix Session clearance Change-Id: I3769b5532488f1c959c2f8b3240a4f3af7e65376 Issue-ID: CCSDK-1291 Signed-off-by: Ezhilarasi --- .../feature-modules/blueprint/modify-template/editor/editor.component.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'cds-ui/client/src/app/feature-modules/blueprint/modify-template') 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 1f8526a53..7fd4ef07a 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 @@ -176,6 +176,7 @@ export class EditorComponent implements OnInit { this.artifactVersion = metadatavalues[4]; this.editor.getEditor().getSession().setTabSize(2); this.editor.getEditor().getSession().setUseWrapMode(true); + this.editor.getEditor().getSession().setValue(""); this.setEditorMode(); }) } -- cgit 1.2.3-korg