экспорт качает файлик
This commit is contained in:
parent
fcf4ce6a4f
commit
4ed6f07a15
@ -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`;
|
||||
|
Loading…
Reference in New Issue
Block a user