diff --git a/ui/src/views/tools/ImportUnmanagedInstance.vue b/ui/src/views/tools/ImportUnmanagedInstance.vue index a03ef3866ec..9eb74877365 100644 --- a/ui/src/views/tools/ImportUnmanagedInstance.vue +++ b/ui/src/views/tools/ImportUnmanagedInstance.vue @@ -713,7 +713,7 @@ export default { page: 1 }) this.fetchKvmHostsForConversion() - if (this.resource.disk.length > 1) { + if (this.resource?.disk?.length > 1) { this.updateSelectedRootDisk() } }, diff --git a/ui/src/views/tools/ManageInstances.vue b/ui/src/views/tools/ManageInstances.vue index a869768bf39..b61c8a9efa5 100644 --- a/ui/src/views/tools/ManageInstances.vue +++ b/ui/src/views/tools/ManageInstances.vue @@ -1074,6 +1074,7 @@ export default { this.sourceHypervisor = value this.sourceActions = this.AllSourceActions.filter(x => x.sourceDestHypervisors[value]) this.form.sourceAction = this.sourceActions[0].name || '' + this.selectedVmwareVcenter = undefined this.onSelectSourceAction(this.form.sourceAction) }, onSelectSourceAction (value) {