fix(inline_title): note type switcher visible for options

This commit is contained in:
Elian Doran
2025-12-13 16:33:33 +02:00
parent 476c162016
commit b56e5b2483

View File

@@ -159,7 +159,7 @@ function NoteTypeSwitcher() {
const currentNoteTypeData = useMemo(() => NOTE_TYPES.find(t => t.type === currentNoteType), [ currentNoteType ]);
const { builtinTemplates, collectionTemplates } = useBuiltinTemplates();
return (
return (currentNoteType && supportedNoteTypes.has(currentNoteType) &&
<div
className="note-type-switcher"
onWheel={onWheelHorizontalScroll}