mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
edit button should get refreshed based on type change
This commit is contained in:
parent
c6d4eb486e
commit
a4e99662cb
@ -49,4 +49,10 @@ export default class EditButton extends ButtonWidget {
|
||||
this.refresh();
|
||||
}
|
||||
}
|
||||
|
||||
async noteTypeMimeChangedEvent({noteId}) {
|
||||
if (this.isNote(noteId)) {
|
||||
await this.refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user