↕️ fix sorting of addons (#1845)

This commit is contained in:
Timmo 2018-10-24 08:58:44 +01:00 committed by Paulus Schoutsen
parent c05b77961e
commit cf8899fcbe
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ class HassioAddonRepository extends NavigateMixin(PolymerElement) {
}
sortAddons(a, b) {
return a.name < b.name ? -1 : 1;
return a.name.toUpperCase() < b.name.toUpperCase() ? -1 : 1;
}
computeIcon(addon) {

View File

@ -53,7 +53,7 @@ class HassioAddonStore extends PolymerElement {
if (b.slug === "core") {
return 1;
}
return a.name < b.name ? -1 : 1;
return a.name.toUpperCase() < b.name.toUpperCase() ? -1 : 1;
}
computeAddons(repo) {