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 memo link

Steven192ee7acc099
diff --git a/web/src/components/ShareMemoDialog.tsx b/web/src/components/ShareMemoDialog.tsx
index 30021cb3c..218c6066b 100644
--- a/web/src/components/ShareMemoDialog.tsx
+++ b/web/src/components/ShareMemoDialog.tsx
@@ -74,7 +74,7 @@ const ShareMemoDialog: React.FC<Props> = (props: Props) => {
};
const handleCopyLinkBtnClick = () => {
- copy(`${window.location.origin}/m/${memo.name}`);
+ copy(`${window.location.origin}/m/${memo.uid}`);
if (memo.visibility !== Visibility.PUBLIC) {
toast.success(t("message.succeed-copy-link-not-public"));
} else {