mirror of
https://github.com/zadam/trilium.git
synced 2025-12-17 04:44:23 +01:00
chore(layout/inline_title): show note type switcher for code notes as well
This commit is contained in:
parent
86f36922c4
commit
4998560e31
@ -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 (
|
||||
<div
|
||||
className="note-type-switcher"
|
||||
onWheel={onWheelHorizontalScroll}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user