mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(ribbon): unable to set content language to "none"
This commit is contained in:
parent
effe0a4f51
commit
1638fd8590
@ -341,7 +341,7 @@ function NoteLanguageSwitch({ note }: { note?: FNote | null }) {
|
||||
return <FormListItem
|
||||
rtl={locale.rtl}
|
||||
checked={checked}
|
||||
onClick={() => setCurrentNoteLanguage(locale.id)}
|
||||
onClick={() => setCurrentNoteLanguage(locale.id || null)}
|
||||
>{locale.name}</FormListItem>
|
||||
} else {
|
||||
return <FormDropdownDivider />
|
||||
|
Loading…
x
Reference in New Issue
Block a user