mirror of
https://github.com/usememos/memos.git
synced 2025-02-15 10:50:47 +01:00
chore: fix memo link
This commit is contained in:
parent
7d94256a2a
commit
192ee7acc0
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user