From 4998560e31473840656abe42fc3c8026dcc6e2f3 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 13 Dec 2025 15:55:56 +0200 Subject: [PATCH] chore(layout/inline_title): show note type switcher for code notes as well --- 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 7882ef202..60b65d2dc 100644 --- a/apps/client/src/widgets/layout/InlineTitle.tsx +++ b/apps/client/src/widgets/layout/InlineTitle.tsx @@ -159,7 +159,7 @@ function NoteTypeSwitcher() { const currentNoteTypeData = useMemo(() => NOTE_TYPES.find(t => t.type === currentNoteType), [ currentNoteType ]); const { builtinTemplates, collectionTemplates } = useBuiltinTemplates(); - return (note?.type === "text" && + return (