Skip to content

Commit 6208976

Browse files
Fix UI issue 5777 Root disk size is not shown as 'Disk Size' on VM deployment. (#5796)
In the UI, when selecting a service offering that has a root disk enforced, stills show the root disk size of the template (or the custom size gave by the user). This PR fixes this issue, that thas been reported in #5777. Fixes: #5777
1 parent d13057a commit 6208976

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/src/views/compute/DeployVM.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,9 @@ export default {
11331133
this.vm.hostname = host.name
11341134
}
11351135
1136-
if (this.diskSize) {
1136+
if (this.serviceOffering.rootdisksize) {
1137+
this.vm.disksizetotalgb = this.serviceOffering.rootdisksize
1138+
} else if (this.diskSize) {
11371139
this.vm.disksizetotalgb = this.diskSize
11381140
}
11391141

0 commit comments

Comments
 (0)