Skip to content

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

fix: pin to menu - create shortcut for topics & tags

thecodrra0ecfdfc51c6
diff --git a/apps/web/src/components/tag/index.js b/apps/web/src/components/tag/index.js
index e5bba6681..b0dc47ce3 100644
--- a/apps/web/src/components/tag/index.js
+++ b/apps/web/src/components/tag/index.js
@@ -7,7 +7,9 @@ import { db } from "../../common";
const menuItems = (item) => [
{
- title: db.settings.isPinned(item.id) ? "Unpin from Menu" : "Pin to Menu",
+ title: db.settings.isPinned(item.id)
+ ? "Remove shortcut"
+ : "Create shortcut",
onClick: () => appStore.pinItemToMenu(item),
},
];
diff --git a/apps/web/src/components/topic/index.js b/apps/web/src/components/topic/index.js
index c31ae14ae..8735e47b0 100644
--- a/apps/web/src/components/topic/index.js
+++ b/apps/web/src/components/topic/index.js
@@ -10,7 +10,9 @@ import { hashNavigate } from "../../navigation";
const menuItems = (item) => [
{
- title: db.settings.isPinned(item.id) ? "Unpin from Menu" : "Pin to Menu",
+ title: db.settings.isPinned(item.id)
+ ? "Remove shortcut"
+ : "Create shortcut",
onClick: () => appStore.pinItemToMenu(item),
},
{