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:
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();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user