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: do not show internal links, notebooks etc in properties for trash preview
Abdullah Atta199c5d3e64f2
diff --git a/apps/web/src/components/properties/index.tsx b/apps/web/src/components/properties/index.tsxindex 1761cc325..612c201f3 100644--- a/apps/web/src/components/properties/index.tsx+++ b/apps/web/src/components/properties/index.tsx@@ -203,11 +203,15 @@ function EditorProperties(props: EditorPropertiesProps) {<Colors noteId={session.note.id} color={session.color} />)}</Section>- <InternalLinks noteId={session.note.id} />- <Notebooks noteId={session.note.id} />- <Reminders noteId={session.note.id} />- <Attachments noteId={session.note.id} />- <SessionHistory noteId={session.note.id} />+ {session.type === "deleted" ? null : (+ <>+ <InternalLinks noteId={session.note.id} />+ <Notebooks noteId={session.note.id} />+ <Reminders noteId={session.note.id} />+ <Attachments noteId={session.note.id} />+ <SessionHistory noteId={session.note.id} />+ </>+ )}</ScrollContainer></ScopedThemeProvider></AnimatedFlex>