From 0d35b884eeaff2317743e337143a94a502a59126 Mon Sep 17 00:00:00 2001 From: ShaabanEltanany Date: Mon, 22 Jun 2020 21:10:28 +0200 Subject: fix issue for deleting files from definition section Issue-ID: CCSDK-2402 Signed-off-by: ShaabanEltanany Change-Id: I3da68daf0b06c307d0864391ecc504287842f954 --- .../configuration-dashboard/configuration-dashboard.component.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard') diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts index e1e33a39a..471b25383 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts @@ -56,6 +56,7 @@ export class ConfigurationDashboardComponent implements OnInit { if (bluePrintDetailModels) { this.viewedPackage = bluePrintDetailModels[0]; this.downloadCBAPackage(bluePrintDetailModels); + this.packageCreationStore.clear(); } }); } @@ -183,6 +184,7 @@ export class ConfigurationDashboardComponent implements OnInit { create() { + this.zipFile = new JSZip(); FilesContent.getMapOfFilesNamesAndContent().forEach((value, key) => { this.zipFile.folder(key.split('/')[0]); this.zipFile.file(key, value); -- cgit 1.2.3-korg