Merge pull request #597 from 64knl/feat/sort-available-languages

feat: Sort available languages
This commit is contained in:
Fabio Di Stasio 2023-06-24 13:16:46 +02:00 committed by GitHub
commit f58c30ff17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(() => [