mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 01:32:18 +02:00
UI: fix display of disk size and IOPS fields in the scale VM form (#11553)
This commit is contained in:
parent
a4cf47a9b8
commit
f4802f30ed
@ -226,8 +226,8 @@ export default {
|
||||
api('listDiskOfferings', {
|
||||
id: this.selectedOffering.diskofferingid
|
||||
}).then(response => {
|
||||
const diskOfferings = response.listdiskofferingsresponse.diskoffering || []
|
||||
if (this.diskOfferings) {
|
||||
const diskOfferings = response?.listdiskofferingsresponse?.diskoffering || []
|
||||
if (diskOfferings?.length > 0) {
|
||||
this.selectedDiskOffering = diskOfferings[0]
|
||||
}
|
||||
}).catch(error => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user