A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: nuke `Remove from topic` menu item
Abdullah Atta12e6688f48d6
diff --git a/apps/web/src/components/note/index.js b/apps/web/src/components/note/index.jsindex 32f2a5d05..e2517656b 100644--- a/apps/web/src/components/note/index.js+++ b/apps/web/src/components/note/index.js@@ -463,32 +463,6 @@ const menuItems = [}},{ key: "sep3", type: "separator" },- {- key: "removefromtopic",- title: "Remove from topic",- icon: Icon.TopicRemove,- hidden: ({ context }) => context?.type !== "topic",- onClick: async ({ items, context }) => {- try {- if (!context.value?.topic || !context.value?.id)- throw new Error("context is missing");-- const ids = items.map((i) => i.id);-- await db.notes.removeFromNotebook(- { id: context.value.id, topic: context.value.topic },- ...ids- );-- store.refresh();-- showToast("success", "Note removed from topic.");- } catch (e) {- showToast("error", `Failed to remove note from topic: ${e.message}.`);- }- },- multiSelect: true- },{key: "movetotrash",title: "Move to trash",