fix: inconsistent database content in exported PDF (#3385)

This commit is contained in:
xiaodong zuo authored and GitHub committed 2023-07-26 21:26:53 +00:00
1 parent bb9908e1fa
commit 1e38d36161
2 files changed
+6

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ export async function savePDFFileAs(
buttonLabel: 'Save',
defaultPath: `${pageTitle}.pdf`,
message: 'Save Page as a PDF file',
filters: [{ name: 'PDF Files', extensions: ['pdf'] }],
}));
const filePath = ret.filePath;
if (ret.canceled || !filePath) {