fix #237 by alphabetically sorting the licenses (#266)

This commit is contained in:
macbrayne
2021-06-19 21:17:41 +02:00
committed by GitHub
parent 5859ac7a58
commit fea6f0ce81
2 changed files with 2 additions and 0 deletions

View File

@@ -360,6 +360,7 @@ export default {
}
}
availableLicenses.sort((a, b) => a.name.localeCompare(b.name))
return {
mod,
clientSideType: mod.client_side.charAt(0) + mod.client_side.slice(1),

View File

@@ -541,6 +541,7 @@ export default {
])
).map((it) => it.data)
availableLicenses.sort((a, b) => a.name.localeCompare(b.name))
return {
availableCategories,
availableLoaders,