From 7666f44b7a3a560303992207dfe3b9c96bbec1c0 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 13 Dec 2025 12:49:51 +0200 Subject: [PATCH] fix(layout/inline-title): hide note type switcher on other note types --- apps/client/src/widgets/layout/InlineTitle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/layout/InlineTitle.tsx b/apps/client/src/widgets/layout/InlineTitle.tsx index 28ea8dfc2..e802bebc4 100644 --- a/apps/client/src/widgets/layout/InlineTitle.tsx +++ b/apps/client/src/widgets/layout/InlineTitle.tsx @@ -136,7 +136,7 @@ function NoteTypeSwitcher() { const currentNoteType = useNoteProperty(note, "type"); const noteTypes = useMemo(() => NOTE_TYPES.filter((nt) => !nt.reserved && !nt.static), []); - return (note && + return (note?.type === "text" &&