This is an automated email from the ASF dual-hosted git repository. weizhou pushed a commit to branch 4.19 in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.19 by this push: new f4802f30ed6 UI: fix display of disk size and IOPS fields in the scale VM form (#11553) f4802f30ed6 is described below commit f4802f30ed609a0b89b7ba003cdf82f40bc7a040 Author: Bernardo De Marco Gonçalves <bernardomg2...@gmail.com> AuthorDate: Mon Sep 8 04:23:19 2025 -0300 UI: fix display of disk size and IOPS fields in the scale VM form (#11553) --- ui/src/views/compute/ScaleVM.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/views/compute/ScaleVM.vue b/ui/src/views/compute/ScaleVM.vue index 4ae02e7a80b..7113e3f2c09 100644 --- a/ui/src/views/compute/ScaleVM.vue +++ b/ui/src/views/compute/ScaleVM.vue @@ -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 => {