mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-09 10:26:35 +00:00
↕️ fix sorting of addons (#1845)
This commit is contained in:
parent
c05b77961e
commit
cf8899fcbe
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user