mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 03:58:53 +08:00
fix attribute cache invalidation
This commit is contained in:
parent
1810116a34
commit
b4d9fdaeda
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue