mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
web: fix title only txt exports
This commit is contained in:
@@ -158,7 +158,7 @@ export async function exportNote(
|
||||
return false as const;
|
||||
});
|
||||
|
||||
if (!exported) return false;
|
||||
if (typeof exported === "boolean" && !exported) return false;
|
||||
|
||||
const filename = sanitizeFilename(note.title, { replacement: "-" });
|
||||
const ext = FORMAT_TO_EXT[format];
|
||||
|
||||
Reference in New Issue
Block a user