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