mirror of https://github.com/Fabio286/antares.git
feat: Sort available languages alphabetically
This commit is contained in:
parent
3ad1e51f42
commit
3ff8d2571b
|
@ -553,7 +553,7 @@ const locales = computed(() => {
|
|||
for (const locale of Object.keys(localesNames))
|
||||
locales.push({ code: locale, name: localesNames[locale] });
|
||||
|
||||
return locales;
|
||||
return locales.sort((a, b) => (a.name.localeCompare(b.name)));
|
||||
});
|
||||
|
||||
const copyTypes = computed(() => [
|
||||
|
|
Loading…
Reference in New Issue