We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ffcf8e commit 4ecfee2Copy full SHA for 4ecfee2
ui/src/views/compute/ScaleVM.vue
@@ -232,8 +232,8 @@ export default {
232
getAPI('listDiskOfferings', {
233
id: this.selectedOffering.diskofferingid
234
}).then(response => {
235
- const diskOfferings = response.listdiskofferingsresponse.diskoffering || []
236
- if (this.diskOfferings) {
+ const diskOfferings = response?.listdiskofferingsresponse?.diskoffering || []
+ if (diskOfferings?.length > 0) {
237
this.selectedDiskOffering = diskOfferings[0]
238
}
239
}).catch(error => {
0 commit comments