mirror of
https://github.com/usememos/memos.git
synced 2025-02-16 03:12:13 +01:00
chore: fix edit memo params
This commit is contained in:
parent
8b9455d784
commit
79c13c6f83
@ -92,6 +92,8 @@ const MemoEditor = (props: Props) => {
|
||||
setState((prevState) => ({
|
||||
...prevState,
|
||||
memoVisibility: memo.visibility,
|
||||
resourceList: memo.resources,
|
||||
relationList: memo.relations,
|
||||
}));
|
||||
if (!contentCache) {
|
||||
editorRef.current?.setContent(memo.content ?? "");
|
||||
|
Loading…
x
Reference in New Issue
Block a user