mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
web: use simple transform stream for export progress
This commit is contained in:
@@ -37,9 +37,9 @@ export class ExportStream extends TransformStream<Note, ZipFile> {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!note || format === "pdf") return;
|
||||
if (format === "pdf") return;
|
||||
|
||||
const result = await exportNote(note, format);
|
||||
const result = await exportNote(note, { format });
|
||||
if (!result) return;
|
||||
|
||||
const { filename, content } = result;
|
||||
|
||||
Reference in New Issue
Block a user