Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(layout/inline_title): show note type switcher for code notes as well
Elian Doran4998560e3147
diff --git a/apps/client/src/widgets/layout/InlineTitle.tsx b/apps/client/src/widgets/layout/InlineTitle.tsxindex 7882ef2024..60b65d2dc6 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 (<divclassName="note-type-switcher"onWheel={onWheelHorizontalScroll}