Bug fix Session clearance 47/87147/1
authorEzhilarasi <ezhrajam@in.ibm.com>
Tue, 7 May 2019 10:51:22 +0000 (16:21 +0530)
committerDan Timoney <dtimoney@att.com>
Tue, 7 May 2019 13:01:53 +0000 (13:01 +0000)
Change-Id: I3769b5532488f1c959c2f8b3240a4f3af7e65376
Issue-ID: CCSDK-1291
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
(cherry picked from commit 0924c4da768d1119a17936933606a38de6526b52)

cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts

index 1f8526a..7fd4ef0 100644 (file)
@@ -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();
       })
   }