reload note paths on note rename

This commit is contained in:
zadam 2020-10-21 22:45:49 +02:00
parent 00d860bfae
commit 6c7853319c

View File

@ -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();
}
}