This commit is contained in:
andrewkenreich
2023-05-03 16:14:26 -04:00
parent 388fb6f5fd
commit cf43ea17f8
2 changed files with 31 additions and 32 deletions

View File

@@ -200,7 +200,7 @@ export async function downloadData(
filename: filename,
});
let ext: string = "csv";
if (fileHandle !== null) {
// @ts-ignore
ext = fileHandle.name.split(".").pop();
@@ -209,7 +209,6 @@ export async function downloadData(
}else{
await loadingOverlay(`Saving ${ext.toUpperCase()}`);
console.log("Saving to file system2");
await new Promise((resolve) => setTimeout(resolve, 1500));
}
// @ts-ignore
non_blocking(async function () {

File diff suppressed because one or more lines are too long