mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
server-ts: Fix regression
This commit is contained in:
parent
262e4db0f2
commit
1d1ccc8d63
@ -211,10 +211,10 @@ class SNote extends AbstractShacaEntity {
|
||||
}
|
||||
|
||||
if (!this.__inheritableAttributeCache) {
|
||||
return this.__getAttributes(path); // will refresh also this.__inheritableAttributeCache
|
||||
} else {
|
||||
return this.__inheritableAttributeCache;
|
||||
this.__getAttributes(path); // will refresh also this.__inheritableAttributeCache
|
||||
}
|
||||
|
||||
return this.__inheritableAttributeCache || [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user