mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 12:24:25 +01:00
chore(inline_title): fix type error
This commit is contained in:
parent
b10e7f1811
commit
0c9ff4dae4
@ -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 && (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user