From 8a431fb79b86375e43fcabd26867887432b2b457 Mon Sep 17 00:00:00 2001 From: 01zulfi <85733202+01zulfi@users.noreply.github.com> Date: Mon, 7 Apr 2025 11:21:12 +0500 Subject: [PATCH] web: add publish:update item in note menu options (#7664) Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com> --- apps/web/src/components/note/index.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/web/src/components/note/index.tsx b/apps/web/src/components/note/index.tsx index 759f52cbe..8ab0d70bf 100644 --- a/apps/web/src/components/note/index.tsx +++ b/apps/web/src/components/note/index.tsx @@ -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"