summaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src
diff options
context:
space:
mode:
authorEzhilarasi <ezhrajam@in.ibm.com>2019-05-07 16:21:22 +0530
committerDan Timoney <dtimoney@att.com>2019-05-07 13:01:53 +0000
commit364a86215cd6824ff673d53c276899ccef24b4a8 (patch)
tree17da6c9e0b09bd559c6b4523eb6cd889a0ed5491 /cds-ui/client/src
parentb26e4bdd161116a061a93bd6c48fa49743eacb4b (diff)
Bug fix Session clearance
Change-Id: I3769b5532488f1c959c2f8b3240a4f3af7e65376 Issue-ID: CCSDK-1291 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com> (cherry picked from commit 0924c4da768d1119a17936933606a38de6526b52)
Diffstat (limited to 'cds-ui/client/src')
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts1
1 files changed, 1 insertions, 0 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 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();
})
}