mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix attribute cache invalidation
This commit is contained in:
parent
1810116a34
commit
b4d9fdaeda
@ -107,8 +107,8 @@ export default class LoadResults {
|
|||||||
* notably changes in note itself should not have any effect on attributes
|
* notably changes in note itself should not have any effect on attributes
|
||||||
*/
|
*/
|
||||||
hasAttributeRelatedChanges() {
|
hasAttributeRelatedChanges() {
|
||||||
return this.branches.length === 0
|
return this.branches.length > 0
|
||||||
&& this.attributes.length === 0;
|
|| this.attributes.length > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
isEmpty() {
|
isEmpty() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user