Bug fix Session clearance 34/87134/1
authorEzhilarasi <ezhrajam@in.ibm.com>
Tue, 7 May 2019 10:51:22 +0000 (16:21 +0530)
committerEzhilarasi <ezhrajam@in.ibm.com>
Tue, 7 May 2019 10:51:31 +0000 (16:21 +0530)
Change-Id: I3769b5532488f1c959c2f8b3240a4f3af7e65376
Issue-ID: CCSDK-1291
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
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();
       })
   }