Skip to content

Build your personal knowledge base with Trilium Notes

reload note paths on note rename

zadam6c7853319ced
diff --git a/src/public/app/widgets/note_paths.js b/src/public/app/widgets/note_paths.js
index 7c4ceb149a..6ea8e1a1b8 100644
--- a/src/public/app/widgets/note_paths.js
+++ b/src/public/app/widgets/note_paths.js
@@ -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();
}
}