mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 16:55:50 +01:00
fixes in enabling / disabling widgets in runtime
This commit is contained in:
@@ -14,9 +14,9 @@ export default class EditedNotesWidget extends CollapsibleWidget {
|
||||
|
||||
getMaxHeight() { return "200px"; }
|
||||
|
||||
async isEnabled() {
|
||||
return await super.isEnabled()
|
||||
&& await this.note.hasOwnedLabel("dateNote");
|
||||
isEnabled() {
|
||||
return super.isEnabled()
|
||||
&& this.note.hasOwnedLabel("dateNote");
|
||||
}
|
||||
|
||||
async refreshWithNote(note) {
|
||||
|
||||
Reference in New Issue
Block a user