mirror of https://github.com/apache/cloudstack.git
alter ordering of backup offerings (#7044)
Co-authored-by: Wei Zhou <weizhou@apache.org> Co-authored-by: Gabriel Ortiga Fernandes <gabriel.fernandes@scclouds.com.br>
This commit is contained in:
parent
908981e848
commit
3ace9a514c
|
|
@ -1161,6 +1161,11 @@ export default {
|
|||
param.loading = false
|
||||
for (const obj in json) {
|
||||
if (obj.includes('response')) {
|
||||
if (possibleApi === 'listBackupOfferings' && json[obj].backupoffering) {
|
||||
json[obj].backupoffering.sort((a, b) => {
|
||||
return a.name > b.name
|
||||
})
|
||||
}
|
||||
for (const res in json[obj]) {
|
||||
if (res === 'count') {
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in New Issue