mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add visibility select in ShareMemoDialog (#2941)
In ShareMemoDialog, user can change the visibility of the memo, so that the memo can be set to public to be viewed by anyone with the link.
This commit is contained in:
@ -101,7 +101,7 @@ const MemoActionMenu = (props: Props) => {
|
||||
<Icon.Edit3 className="w-4 h-auto" />
|
||||
{t("common.edit")}
|
||||
</MenuItem>
|
||||
<MenuItem onClick={() => showShareMemoDialog(memo)}>
|
||||
<MenuItem onClick={() => showShareMemoDialog(memo.id)}>
|
||||
<Icon.Share className="w-4 h-auto" />
|
||||
{t("common.share")}
|
||||
</MenuItem>
|
||||
|
Reference in New Issue
Block a user