From 1a65c5e13e8e94b3c66eab53a0990587f8e74a75 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 13 Dec 2025 00:30:22 +0200 Subject: [PATCH] feat(status_bar): hide note paths in hidden notes --- apps/client/src/widgets/layout/StatusBar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/layout/StatusBar.tsx b/apps/client/src/widgets/layout/StatusBar.tsx index 50c048760..7d1b17e91 100644 --- a/apps/client/src/widgets/layout/StatusBar.tsx +++ b/apps/client/src/widgets/layout/StatusBar.tsx @@ -42,6 +42,7 @@ export default function StatusBar() { const [ attributesShown, setAttributesShown ] = useState(false); const context: StatusBarContext | undefined | null = note && noteContext && { note, notePath, noteContext, viewScope, hoistedNoteId }; const attributesContext: AttributesProps | undefined | null = context && { ...context, attributesShown, setAttributesShown }; + const isHiddenNote = note?.isInHiddenSubtree(); return (
@@ -53,7 +54,7 @@ export default function StatusBar() {
- + {!isHiddenNote && }