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: only open trash item if it is a note
Abdullah Atta84a687d69db6
diff --git a/apps/web/src/components/trash-item/index.js b/apps/web/src/components/trash-item/index.jsindex c12db448c..ffdaaad36 100644--- a/apps/web/src/components/trash-item/index.js+++ b/apps/web/src/components/trash-item/index.js@@ -51,7 +51,8 @@ function TrashItem({ item, index, date }) {}menu={{ items: menuItems, extraData: { item } }}onClick={() => {- hashNavigate(`/notes/${item.id}/edit`, { replace: true });+ if (item.itemType === "note")+ hashNavigate(`/notes/${item.id}/edit`, { replace: true });}}/>);