ui: List Primary and Local DCs first in the Datacenter selector (#12478)
This commit is contained in:
parent
b525389286
commit
19fe3e14d1
|
@ -0,0 +1,3 @@
|
|||
```release-note:improvement
|
||||
ui: In the datacenter selector order Datacenters by Primary, Local then alpanumerically
|
||||
```
|
|
@ -4,7 +4,7 @@
|
|||
>
|
||||
<DisclosureMenu
|
||||
aria-label="Datacenter"
|
||||
@items={{sort-by 'Name' @dcs}}
|
||||
@items={{sort-by 'Primary:desc' 'Local:desc' 'Name:asc' @dcs}}
|
||||
as |disclosure|>
|
||||
<disclosure.Action
|
||||
{{on 'click' disclosure.toggle}}
|
||||
|
|
Loading…
Reference in New Issue