mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
UI: Fix irrelevant conversion options in import instance modal (#8838)
This commit is contained in:
parent
31301f56f6
commit
6c6023b790
@ -713,7 +713,7 @@ export default {
|
||||
page: 1
|
||||
})
|
||||
this.fetchKvmHostsForConversion()
|
||||
if (this.resource.disk.length > 1) {
|
||||
if (this.resource?.disk?.length > 1) {
|
||||
this.updateSelectedRootDisk()
|
||||
}
|
||||
},
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user