mirror of https://github.com/rancher/dashboard.git
Change side-nav cluster order to sort by name (#6942)
This commit is contained in:
parent
75ad91c287
commit
cec1bb8aff
|
|
@ -98,7 +98,7 @@ export default {
|
||||||
|
|
||||||
const out = search ? this.clusters.filter(item => item.label.toLowerCase().includes(search)) : this.clusters;
|
const out = search ? this.clusters.filter(item => item.label.toLowerCase().includes(search)) : this.clusters;
|
||||||
|
|
||||||
const sorted = sortBy(out, ['ready:desc', 'label']);
|
const sorted = sortBy(out, ['name:desc', 'label']);
|
||||||
|
|
||||||
return sorted;
|
return sorted;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue