mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
server-ts: Fix regression
This commit is contained in:
@@ -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 || [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user