mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
reload note paths on note rename
This commit is contained in:
parent
00d860bfae
commit
6c7853319c
@ -158,7 +158,9 @@ export default class NotePathsWidget extends TabAwareWidget {
|
||||
}
|
||||
|
||||
entitiesReloadedEvent({loadResults}) {
|
||||
if (loadResults.getBranches().find(branch => branch.noteId === this.noteId)) {
|
||||
if (loadResults.getBranches().find(branch => branch.noteId === this.noteId)
|
||||
|| loadResults.isNoteReloaded(this.noteId)) {
|
||||
|
||||
this.refresh();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user