diff options
Diffstat (limited to 'cds-ui/designer-client/src/app/modules')
2 files changed, 5 insertions, 3 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); diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/imports-tab/imports-tab.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/imports-tab/imports-tab.component.html index c2356a4ee..940177e6a 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/imports-tab/imports-tab.component.html +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/imports-tab/imports-tab.component.html @@ -41,12 +41,12 @@ <i class="icon-file-code"></i> {{file.key}} </button> - <a data-toggle="modal" (click)="initDelete(file)" data-target="#exampleModal" + <a data-toggle="modal" (click)="initDelete(file)" data-target="#exampleModal1" class="accordion-delete"><i class="icon-delete-sm"></i></a> <!-- <a class="accordion-delete" (click)="removeFile(mapIndex)"><i class="icon-delete-sm"></i></a> --> <!-- Delete Modal --> - <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" + <div class="modal fade" id="exampleModal1" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> @@ -162,4 +162,4 @@ </div> </div> </div> -</div>
\ No newline at end of file +</div> |