100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
UI update: added responseType for data export
Rich Turner2392048ef2dc
diff --git a/ui/app/manager/src/pages/page-export.ts b/ui/app/manager/src/pages/page-export.tsindex c83e7aed3..725f4361e 100644--- a/ui/app/manager/src/pages/page-export.ts+++ b/ui/app/manager/src/pages/page-export.ts@@ -361,6 +361,9 @@ class PageExport<S extends AppStateKeyed> extends Page<S> {attributeRefs: JSON.stringify(this.attrRefs),fromTimestamp: this.oldestTimestamp,toTimestamp: this.latestTimestamp+ }, {+ responseType: "blob",+}).then(response => {// This is the best we can do with xhr - would need to return a link to the file for proper streamed download supportconst url = window.URL.createObjectURL(new Blob([response.data]));