fix(hooks): push success toast after save (#4830)

This commit is contained in:
fourdim authored and GitHub committed 2023-11-10 02:40:52 +00:00
1 parent 7698a6ac8e
commit f1e32aab66
1 file changed
+1 -1
@@ -37,7 +37,7 @@ interface ExportHandlerOptions {
async function exportHandler({ page, type }: ExportHandlerOptions) { async function exportHandler({ page, type }: ExportHandlerOptions) {
if (type === 'pdf' && environment.isDesktop && page.meta.mode === 'page') { if (type === 'pdf' && environment.isDesktop && page.meta.mode === 'page') {
window.apis?.export.savePDFFileAs( await window.apis?.export.savePDFFileAs(
(page.root as PageBlockModel).title.toString() (page.root as PageBlockModel).title.toString()
); );
} else { } else {