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
getOwnedAttributes() should not make a copy, consistent with similar methods
zadam85a75fc1867b
diff --git a/src/becca/entities/bnote.js b/src/becca/entities/bnote.jsindex 09dd7e6792..320182725f 100644--- a/src/becca/entities/bnote.js+++ b/src/becca/entities/bnote.js@@ -731,7 +731,7 @@ class BNote extends AbstractBeccaEntity {return this.ownedAttributes.filter(attr => attr.name === name);}else {- return this.ownedAttributes.slice();+ return this.ownedAttributes;}}