Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix edit memo params

Steven79c13c6f83e2
diff --git a/web/src/components/MemoEditor/index.tsx b/web/src/components/MemoEditor/index.tsx
index 2d0beb3a2..2db720cba 100644
--- a/web/src/components/MemoEditor/index.tsx
+++ b/web/src/components/MemoEditor/index.tsx
@@ -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 ?? "");