mirror of https://github.com/status-im/consul.git
ui: List Primary and Local DCs first in the Datacenter selector (#12478)
This commit is contained in:
parent
bac6c00906
commit
7a1c3a8c60
|
@ -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