mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update memo detail access handler
This commit is contained in:
@ -115,11 +115,6 @@ const MemoCardDialog: React.FC<Props> = (props: Props) => {
|
||||
}, []);
|
||||
|
||||
const handleGotoMemoLinkBtnClick = () => {
|
||||
if (memo.visibility === "PRIVATE") {
|
||||
toastHelper.error(t("message.private-only"));
|
||||
return;
|
||||
}
|
||||
|
||||
window.open(`/m/${memo.id}`);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user