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
server-ts: Fix regression
Elian Doran1d1ccc8d636f
diff --git a/src/share/shaca/entities/snote.ts b/src/share/shaca/entities/snote.tsindex 37e0fb477a..3ca182167f 100644--- a/src/share/shaca/entities/snote.ts+++ b/src/share/shaca/entities/snote.ts@@ -211,10 +211,10 @@ class SNote extends AbstractShacaEntity {}if (!this.__inheritableAttributeCache) {- return this.__getAttributes(path); // will refresh also this.__inheritableAttributeCache- } else {- return this.__inheritableAttributeCache;+ this.__getAttributes(path); // will refresh also this.__inheritableAttributeCache}++ return this.__inheritableAttributeCache || [];}/**