diff --git a/src/stores/results/actions.ts b/src/stores/results/actions.ts index 5887be21..d4f20314 100644 --- a/src/stores/results/actions.ts +++ b/src/stores/results/actions.ts @@ -97,7 +97,8 @@ export const ExportResults = async ( parseFilters(filterNew, filterDate), ); - const blob = data; + const blob = new Blob([data as BlobPart], { type: "application/json" }); + const link = document.createElement("a"); link.href = window.URL.createObjectURL(blob as Blob); link.download = `report_${new Date().getTime()}.xlsx`;