fix(hooks): push success toast after save (#4830)
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user