web: add publish:update item in note menu options (#7664)

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
01zulfi
2025-04-07 11:21:12 +05:00
committed by GitHub
parent 12cfc0dafd
commit 8a431fb79b

View File

@@ -89,7 +89,8 @@ import {
SyncOff,
Tag2,
Tag as TagIcon,
Trash
Trash,
Update
} from "../icons";
import { Context } from "../list-container/types";
import ListItem from "../list-item";
@@ -463,6 +464,15 @@ export const noteMenuItems: (
});
}
},
{
type: "button",
key: "update",
title: strings.update(),
icon: Update.path,
onClick: () => {
showPublishView(note, "bottom");
}
},
{
type: "separator",
key: "sep"