mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user