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: only last trashed item being visible in trash
thecodrr511eeba44901
diff --git a/apps/web/src/common/list-profiles.js b/apps/web/src/common/list-profiles.jsindex 1adab4ae4..f3c7804de 100644--- a/apps/web/src/common/list-profiles.js+++ b/apps/web/src/common/list-profiles.js@@ -62,8 +62,8 @@ const TopicsProfile = createProfile(const TrashProfile = createProfile((index, item) => <TrashItem index={index} item={item} />,(item) => {- if (item.type === "note") return getNoteHeight(item);- else if (item.type === "notebook") return getNotebookHeight(item);+ if (item.itemType === "note") return getNoteHeight(item);+ else if (item.itemType === "notebook") return getNotebookHeight(item);},Math.max(MAX_HEIGHTS.note, MAX_HEIGHTS.notebook));diff --git a/apps/web/src/views/trash.js b/apps/web/src/views/trash.jsindex 95f5ae292..bbffb5960 100644--- a/apps/web/src/views/trash.js+++ b/apps/web/src/views/trash.js@@ -11,6 +11,7 @@ function Trash() {useEffect(() => store.refresh(), []);const items = useStore((store) => store.trash);const clearTrash = useStore((store) => store.clear);+ console.log(items);return (<ListContainertype="trash"