From 66ed88c409310b6d28267eef793da3973dc2af41 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 16 Dec 2025 15:03:47 +0200 Subject: [PATCH] fix(breadcrumb): archived not respected by last item --- apps/client/src/widgets/layout/Breadcrumb.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/layout/Breadcrumb.tsx b/apps/client/src/widgets/layout/Breadcrumb.tsx index 6454aea19..c4e51b512 100644 --- a/apps/client/src/widgets/layout/Breadcrumb.tsx +++ b/apps/client/src/widgets/layout/Breadcrumb.tsx @@ -130,6 +130,7 @@ function BreadcrumbLastItem({ notePath, parentComponent }: { notePath: string, p const [ note ] = useState(() => froca.getNoteFromCache(noteId!)); const title = useNoteProperty(note, "title"); const colorClass = useNoteColorClass(note); + const [ archived ] = useNoteLabelBoolean(note, "archived"); useStaticTooltip(linkRef, { placement: "top", title: t("breadcrumb.scroll_to_top_title") @@ -141,7 +142,7 @@ function BreadcrumbLastItem({ notePath, parentComponent }: { notePath: string, p { const activeNtxId = appContext.tabManager.activeNtxId; const scrollingContainer = document.querySelector(`[data-ntx-id="${activeNtxId}"] .scrolling-container`);