Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

UI update: Fix typescript build issue (#1220)

Rich Turnerd694d0762538
diff --git a/ui/app/manager/src/pages/page-export.ts b/ui/app/manager/src/pages/page-export.ts
index 9ddc65ada..fd44dae1a 100644
--- a/ui/app/manager/src/pages/page-export.ts
+++ b/ui/app/manager/src/pages/page-export.ts
@@ -382,6 +382,7 @@ export class PageExport extends Page<AppStateKeyed> {
}).then(response => {
// This is the best we can do with xhr - would need to return a link to the file for proper streamed download support
+ // @ts-ignore
const url = window.URL.createObjectURL(new Blob([response.data]));
const link = document.createElement('a');
link.href = url;