diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue
index 16ff8066489..ac98f35d806 100644
--- a/ui/src/views/compute/DeployVM.vue
+++ b/ui/src/views/compute/DeployVM.vue
@@ -148,7 +148,7 @@
@handle-image-search-filter="filters => fetchImages(filters)"
@update-image="updateFieldValue"
@update-disk-size="updateFieldValue"
- @change-iso-hypervisor="value => hypervisor = value" />
+ @change-iso-hypervisor="value => form.hypervisor = value" />
@@ -325,8 +325,8 @@ export default {
emitUpdateDiskSize (decorator, value) {
this.$emit('update-disk-size', decorator, value)
},
- handleIsoHypervisorChange () {
- this.$emit('change-iso-hypervisor', this.localIsoHypervisor)
+ handleIsoHypervisorChange (hypervisor) {
+ this.$emit('change-iso-hypervisor', hypervisor)
}
}
}
diff --git a/ui/src/views/infra/zone/ZoneWizardRegisterTemplate.vue b/ui/src/views/infra/zone/ZoneWizardRegisterTemplate.vue
index 28fd4b95047..0d94fc5d3b1 100644
--- a/ui/src/views/infra/zone/ZoneWizardRegisterTemplate.vue
+++ b/ui/src/views/infra/zone/ZoneWizardRegisterTemplate.vue
@@ -63,7 +63,7 @@