mirror of
https://github.com/status-im/consul.git
synced 2025-01-30 15:37:14 +00:00
ui: List Primary and Local DCs first in the Datacenter selector (#12478)
This commit is contained in:
parent
bac6c00906
commit
7a1c3a8c60
3
.changelog/12478.txt
Normal file
3
.changelog/12478.txt
Normal file
@ -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…
x
Reference in New Issue
Block a user