Skip to content

Commit 6c6023b

Browse files
authored
UI: Fix irrelevant conversion options in import instance modal (#8838)
1 parent 31301f5 commit 6c6023b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

ui/src/views/tools/ImportUnmanagedInstance.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ export default {
713713
page: 1
714714
})
715715
this.fetchKvmHostsForConversion()
716-
if (this.resource.disk.length > 1) {
716+
if (this.resource?.disk?.length > 1) {
717717
this.updateSelectedRootDisk()
718718
}
719719
},

ui/src/views/tools/ManageInstances.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,7 @@ export default {
10741074
this.sourceHypervisor = value
10751075
this.sourceActions = this.AllSourceActions.filter(x => x.sourceDestHypervisors[value])
10761076
this.form.sourceAction = this.sourceActions[0].name || ''
1077+
this.selectedVmwareVcenter = undefined
10771078
this.onSelectSourceAction(this.form.sourceAction)
10781079
},
10791080
onSelectSourceAction (value) {

0 commit comments

Comments
 (0)