We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 846efdb commit 3395a65Copy full SHA for 3395a65
1 file changed
ui/src/views/compute/EditVM.vue
@@ -200,10 +200,13 @@ export default {
200
params.name = values.name
201
params.displayname = values.displayname
202
params.ostypeid = values.ostypeid
203
- params.isdynamicallyscalable = values.isdynamicallyscalable || false
204
- params.haenable = values.haenable || false
+ if (values.isdynamicallyscalable !== undefined) {
+ params.isdynamicallyscalable = values.isdynamicallyscalable
205
+ }
206
+ if (values.haenable !== undefined) {
207
+ params.haenable = values.haenable
208
209
params.group = values.group
-
210
this.loading = true
211
212
api('updateVirtualMachine', params).then(json => {
0 commit comments