mirror of
https://github.com/zadam/trilium.git
synced 2025-01-21 22:51:22 +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();
|
this.$previewNotAvailable.show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async entitiesReloadedEvent({loadResults}) {
|
||||||
|
if (loadResults.isNoteReloaded(this.noteId)) {
|
||||||
|
this.refresh();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue