Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

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

01zulfi8a431fb79b86
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"