From: Ezhilarasi Date: Tue, 7 May 2019 10:51:22 +0000 (+0530) Subject: Bug fix Session clearance X-Git-Tag: 0.4.3~14 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F87147%2F1;p=ccsdk%2Fcds.git Bug fix Session clearance Change-Id: I3769b5532488f1c959c2f8b3240a4f3af7e65376 Issue-ID: CCSDK-1291 Signed-off-by: Ezhilarasi (cherry picked from commit 0924c4da768d1119a17936933606a38de6526b52) --- 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(); }) }