From 4eaf4746b697f2555fae1f2b09c23d27b146ab86 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Wed, 13 Mar 2019 15:21:55 +0530 Subject: Editor component changes Added method calls on save and download button clicks Issue-ID: CCSDK-1135 Change-Id: Ib60b7853aaee1742bf69c8b2785f9df42e7a73dd Signed-off-by: Arundathi Patil --- .../blueprint/modify-template/editor/editor.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts') 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 5092a698e..37ac522af 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 @@ -161,7 +161,7 @@ export class EditorComponent implements OnInit { } }); - if (this.selectedFile == this.blueprintName) { + if (this.selectedFile == this.blueprintName.trim()) { this.blueprint = JSON.parse(this.text); } else { this.blueprint = this.blueprintdata; -- cgit 1.2.3-korg