Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(core): fix minor type issue
Elian Doran321558a01f4a
diff --git a/packages/trilium-core/src/becca/entities/bnote.ts b/packages/trilium-core/src/becca/entities/bnote.tsindex 20d7dd970b..e59be195c5 100644--- a/packages/trilium-core/src/becca/entities/bnote.ts+++ b/packages/trilium-core/src/becca/entities/bnote.ts@@ -1515,7 +1515,7 @@ class BNote extends AbstractBeccaEntity<BNote> {taskContext.noteDeletionHandlerTriggered = true;for (const branch of this.getParentBranches()) {- branch.deleteBranch(deleteId, taskContext);+ branch.deleteBranch(deleteId ?? undefined, taskContext);}}