Skip to content

Commit 3ace9a5

Browse files
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>
1 parent 908981e commit 3ace9a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ui/src/views/AutogenView.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,11 @@ export default {
11611161
param.loading = false
11621162
for (const obj in json) {
11631163
if (obj.includes('response')) {
1164+
if (possibleApi === 'listBackupOfferings' && json[obj].backupoffering) {
1165+
json[obj].backupoffering.sort((a, b) => {
1166+
return a.name > b.name
1167+
})
1168+
}
11641169
for (const res in json[obj]) {
11651170
if (res === 'count') {
11661171
continue

0 commit comments

Comments
 (0)