1
0
mirror of https://github.com/zadam/trilium.git synced 2025-03-01 14:22:32 +01:00

file note should reload after uploading new revision

This commit is contained in:
zadam 2023-07-14 17:55:28 +02:00
parent c3f5bb5518
commit 3d0c3652ce

@ -85,4 +85,10 @@ export default class FileTypeWidget extends TypeWidget {
this.$previewNotAvailable.show(); this.$previewNotAvailable.show();
} }
} }
async entitiesReloadedEvent({loadResults}) {
if (loadResults.isNoteReloaded(this.noteId)) {
this.refresh();
}
}
} }