ui: List Primary and Local DCs first in the Datacenter selector (#12478)

pull/12531/head
John Cowen 3 years ago committed by GitHub
parent bac6c00906
commit 7a1c3a8c60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save