From 97109efb6cb8540e02285647943c2ae1b2721cd3 Mon Sep 17 00:00:00 2001 From: zadam Date: Wed, 12 Aug 2020 23:59:33 +0200 Subject: [PATCH] fix attribute cache invalidation --- src/public/app/services/load_results.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/public/app/services/load_results.js b/src/public/app/services/load_results.js index 7153b2e9a..e62ddcd27 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() {