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.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: memo relations
Steven200a0d3e2b7c
diff --git a/web/src/components/MemoEditor/ActionButton/AddMemoRelationButton.tsx b/web/src/components/MemoEditor/ActionButton/AddMemoRelationButton.tsxindex 155e49cac..758cd8604 100644--- a/web/src/components/MemoEditor/ActionButton/AddMemoRelationButton.tsx+++ b/web/src/components/MemoEditor/ActionButton/AddMemoRelationButton.tsx@@ -34,7 +34,7 @@ const AddMemoRelationButton = (props: Props) => {editorRef.current.insertText("\n");}for (const memo of memos) {- editorRef.current.insertText(`![[memos/${memo.name}]]\n`);+ editorRef.current.insertText(`![[memos/${memo.uid}]]\n`);}setTimeout(() => {editorRef.current?.scrollToCursor();diff --git a/web/src/components/MemoRelationListView.tsx b/web/src/components/MemoRelationListView.tsxindex 140ac529d..b6cb6a92a 100644--- a/web/src/components/MemoRelationListView.tsx+++ b/web/src/components/MemoRelationListView.tsx@@ -43,7 +43,7 @@ const MemoRelationListView = (props: Props) => {<div key={memo.name} className="block w-auto max-w-[50%]"><LinkclassName="px-2 border rounded-md w-auto text-sm leading-6 flex flex-row justify-start items-center flex-nowrap text-gray-600 dark:text-gray-400 dark:border-zinc-700 dark:bg-zinc-900 hover:shadow hover:opacity-80"- to={`/m/${memo.name}`}+ to={`/m/${memo.uid}`}unstable_viewTransition><Tooltip title="Reference" placement="top">