summaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard
diff options
context:
space:
mode:
authorShaabanEltanany <shaaban.eltanany.ext@orange.com>2020-06-22 21:10:28 +0200
committerShaabanEltanany <shaaban.eltanany.ext@orange.com>2020-06-22 22:42:12 +0200
commit0d35b884eeaff2317743e337143a94a502a59126 (patch)
tree33ffaabcfdabec66da2e8040306e5c7c20588bcb /cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard
parentee2c950e05901c92fd45a24898b7e8bb2418bc77 (diff)
fix issue for deleting files from definition section
Issue-ID: CCSDK-2402 Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com> Change-Id: I3da68daf0b06c307d0864391ecc504287842f954
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts2
1 files changed, 2 insertions, 0 deletions
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);