aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/feature-modules/blueprint/modify-template
diff options
context:
space:
mode:
authorEzhilarasi <ezhrajam@in.ibm.com>2019-05-07 16:21:22 +0530
committerEzhilarasi <ezhrajam@in.ibm.com>2019-05-07 16:21:31 +0530
commit0924c4da768d1119a17936933606a38de6526b52 (patch)
tree54d78639139e3b9242a0fab23b889d52fbfb78b5 /cds-ui/client/src/app/feature-modules/blueprint/modify-template
parentfebb517be84666a67cb04a58f89aac4af788ac7c (diff)
Bug fix Session clearance
Change-Id: I3769b5532488f1c959c2f8b3240a4f3af7e65376 Issue-ID: CCSDK-1291 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/modify-template')
-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();
})
}