fix(component): updated at in page meta (#2277)
This commit is contained in:
1 parent
53db6a6e9d
commit
793b689b81
3 files changed
+25
-2
No files matched your search
@@ -81,6 +81,9 @@ export const PageDetailEditor: React.FC<PageDetailEditorProps> = ({
|
||||
startTransition(() => {
|
||||
setEditor(editor);
|
||||
});
|
||||
page.workspace.setPageMeta(page.id, {
|
||||
updatedDate: Date.now(),
|
||||
});
|
||||
onLoad?.(page, editor);
|
||||
},
|
||||
[onLoad, setEditor]
|
||||
|
||||
Reference in new issue
Block a user