From 8d94b62db05f5b1cb4e3d993b8ed7f723643724f Mon Sep 17 00:00:00 2001 From: Vedansh Bodkhe Date: Sat, 21 Feb 2026 14:53:06 +0530 Subject: [PATCH] fix(breadcrumb): note title update --- apps/client/src/widgets/react/hooks.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/client/src/widgets/react/hooks.tsx b/apps/client/src/widgets/react/hooks.tsx index c41e1e1a1c..40c5df720e 100644 --- a/apps/client/src/widgets/react/hooks.tsx +++ b/apps/client/src/widgets/react/hooks.tsx @@ -1214,6 +1214,12 @@ export function useNoteTitle(noteId: string | undefined, parentNoteId: string | refresh(); }); + // React to external changes. + useTriliumEvent("entitiesReloaded", ({ loadResults }) => { + if (loadResults.isNoteReloaded(noteId)) { + refresh(); + } + }); return title; }