fix attribute cache invalidation

This commit is contained in:
zadam 2020-08-12 23:58:32 +02:00
parent 1810116a34
commit b4d9fdaeda

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