mirror of https://github.com/Fabio286/antares.git
Merge pull request #597 from 64knl/feat/sort-available-languages
feat: Sort available languages
This commit is contained in:
commit
f58c30ff17
|
@ -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