mirror of
https://github.com/zadam/trilium.git
synced 2025-01-14 19:19:28 +08:00
file note should reload after uploading new revision
This commit is contained in:
parent
c3f5bb5518
commit
3d0c3652ce
1 changed files with 6 additions and 0 deletions
|
@ -85,4 +85,10 @@ export default class FileTypeWidget extends TypeWidget {
|
|||
this.$previewNotAvailable.show();
|
||||
}
|
||||
}
|
||||
|
||||
async entitiesReloadedEvent({loadResults}) {
|
||||
if (loadResults.isNoteReloaded(this.noteId)) {
|
||||
this.refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue