mirror of https://github.com/rancher/dashboard.git
Merge pull request #7921 from catherineluse/az-order
Availability zones are in order
This commit is contained in:
commit
42bf373067
|
|
@ -362,7 +362,9 @@ export default {
|
|||
});
|
||||
|
||||
if (data.length > 0) {
|
||||
return data[0].AvailabilityZones;
|
||||
return data[0].AvailabilityZones.sort((a, b) => {
|
||||
return a - b;
|
||||
});
|
||||
}
|
||||
|
||||
return [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue