mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 21:05:55 +01:00
template attributes don't need isInheritable flag to take effect
This commit is contained in:
@@ -9,7 +9,8 @@ class EditedNotesWidget extends StandardWidget {
|
||||
getMaxHeight() { return "200px"; }
|
||||
|
||||
async isEnabled() {
|
||||
return await this.ctx.note.hasLabel("dateNote");
|
||||
return await super.isEnabled()
|
||||
&& await this.ctx.note.hasLabel("dateNote");
|
||||
}
|
||||
|
||||
async doRenderBody() {
|
||||
|
||||
Reference in New Issue
Block a user