From 6c7853319cedf93a47f87d319c28a29f0f665edf Mon Sep 17 00:00:00 2001 From: zadam Date: Wed, 21 Oct 2020 22:45:49 +0200 Subject: [PATCH] reload note paths on note rename --- src/public/app/widgets/note_paths.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/public/app/widgets/note_paths.js b/src/public/app/widgets/note_paths.js index 7c4ceb149..6ea8e1a1b 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(); } }