Skip to content

Build your personal knowledge base with Trilium Notes

fix attribute cache invalidation

zadam97109efb6cb8
diff --git a/src/public/app/services/load_results.js b/src/public/app/services/load_results.js
index 7153b2e9ae..e62ddcd270 100644
--- a/src/public/app/services/load_results.js
+++ b/src/public/app/services/load_results.js
@@ -107,8 +107,8 @@ export default class LoadResults {
* notably changes in note itself should not have any effect on attributes
*/
hasAttributeRelatedChanges() {
- return this.branches.length === 0
- && this.attributes.length === 0;
+ return this.branches.length > 0
+ || this.attributes.length > 0;
}
isEmpty() {