fix attribute cache invalidation

This commit is contained in:
zadam 2020-08-12 23:59:33 +02:00
parent 3b148eb6f8
commit 97109efb6c

View File

@ -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() {