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