mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
file note should reload after uploading new revision
This commit is contained in:
@@ -85,4 +85,10 @@ export default class FileTypeWidget extends TypeWidget {
|
||||
this.$previewNotAvailable.show();
|
||||
}
|
||||
}
|
||||
|
||||
async entitiesReloadedEvent({loadResults}) {
|
||||
if (loadResults.isNoteReloaded(this.noteId)) {
|
||||
this.refresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user