mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
reload note paths on note rename
This commit is contained in:
@@ -158,7 +158,9 @@ export default class NotePathsWidget extends TabAwareWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
entitiesReloadedEvent({loadResults}) {
|
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();
|
this.refresh();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user