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: handle multiple internal link types in internal link properties tabs Signed-off-by: 01zulfi <[email protected]>
01zulfi76e14d44340c
diff --git a/apps/web/src/components/properties/index.tsx b/apps/web/src/components/properties/index.tsxindex c7c4ac43f..f35278e73 100644--- a/apps/web/src/components/properties/index.tsx+++ b/apps/web/src/components/properties/index.tsx@@ -419,7 +419,7 @@ function LinkedNote({const linkedBlocks = usePromise(async () =>(await db.notes.internalLinks(noteId)).filter(- (l) => l.id === item.id && !!l.params?.blockId+ (l) => l.id === item.id && l.type === "note" && !!l.params?.blockId),[item.id]);@@ -453,7 +453,9 @@ function LinkedNote({if (isExpanded) return toggleExpand();setBlocks((await db.notes.contentBlocks(item.id)).filter((a) =>- linkedBlocks.value.some((l) => l.params?.blockId === a.id)+ linkedBlocks.value.some(+ (l) => l.type === "note" && l.params?.blockId === a.id+ )));toggleExpand();