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
fix: remove menu item appears in note on home screen (#146)
thecodrrf91b2861ff98
diff --git a/apps/web/src/components/menu/index.js b/apps/web/src/components/menu/index.jsindex 23994baef..a19f5b22a 100644--- a/apps/web/src/components/menu/index.js+++ b/apps/web/src/components/menu/index.js@@ -35,7 +35,7 @@ function Menu(props) {</Text>{props.menuItems.map((item) =>- (item.visible === undefined || item.visible === true) && (+ item.visible !== false && (<Flexkey={item.title}onClick={(e) => {diff --git a/apps/web/src/components/note/index.js b/apps/web/src/components/note/index.jsindex 26f5c00f8..c9c0b6303 100644--- a/apps/web/src/components/note/index.js+++ b/apps/web/src/components/note/index.js@@ -17,7 +17,7 @@ function menuItems(note, context) {return [{ title: "colors", component: Colors },{- title: note.notebook ? "Move" : "Add to",+ title: note.notebook?.id ? "Move" : "Add to",onClick: async () => {if (await showMoveNoteDialog([note.id])) {console.log("Note moved successfully!");@@ -48,7 +48,7 @@ function menuItems(note, context) {onlyPro: true,},{- visible: context && context.type === "topic",+ visible: context?.type === "topic",title: "Remove",onClick: async () => {confirm(