summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app')
-rw-r--r--catalog-ui/src/app/ng2/components/modals/onboarding-modal/onboarding-modal.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/components/modals/onboarding-modal/onboarding-modal.component.ts b/catalog-ui/src/app/ng2/components/modals/onboarding-modal/onboarding-modal.component.ts
index 2e41716e0b..10d7f67860 100644
--- a/catalog-ui/src/app/ng2/components/modals/onboarding-modal/onboarding-modal.component.ts
+++ b/catalog-ui/src/app/ng2/components/modals/onboarding-modal/onboarding-modal.component.ts
@@ -135,7 +135,8 @@ export class OnboardingModalComponent implements OnInit {
(file: any): void => {
this.isLoading = false;
if (file.body) {
- this.fileUtilsService.downloadFile(file.body, packageId + '.csar');
+ this.fileUtilsService.downloadFile(new Blob([file.body],
+ {type: 'application/octet-stream'}), packageId + '.csar');
}
}, (): void => {
this.isLoading = false;