1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-02-17 04:00:48 +01:00

feat: Sort available languages alphabetically

This commit is contained in:
Rene 2023-06-22 18:27:41 +02:00
parent 3ad1e51f42
commit 3ff8d2571b

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