mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 21:29:56 +01:00
chore(inline_title): fix type error
This commit is contained in:
@@ -164,7 +164,7 @@ function NoteTypeSwitcher() {
|
||||
className="note-type-switcher"
|
||||
onWheel={onWheelHorizontalScroll}
|
||||
>
|
||||
{blob?.contentLength === 0 && (
|
||||
{note && blob?.contentLength === 0 && (
|
||||
<>
|
||||
<div className="intro">{t("note_title.note_type_switcher_label", { type: currentNoteTypeData?.title.toLocaleLowerCase() })}</div>
|
||||
{pinnedNoteTypes.map(noteType => noteType.type !== currentNoteType && (
|
||||
|
||||
Reference in New Issue
Block a user