address review comment

This commit is contained in:
Felix Ableitner 2022-02-18 18:56:34 +01:00
parent d73ab982bc
commit 1eb4f8dda2

View file

@ -524,9 +524,7 @@ export class Settings extends Component<any, SettingsState> {
{languages {languages
.sort((a, b) => a.code.localeCompare(b.code)) .sort((a, b) => a.code.localeCompare(b.code))
.map(lang => ( .map(lang => (
<option value={lang.code}> <option value={lang.code}>{lang.name}</option>
{getLanguages(lang.code)[0]}
</option>
))} ))}
</select> </select>
</div> </div>