mirror of https://github.com/apache/cloudstack.git
[UI] Deploy VM: Preselect first available template (#11207)
This commit is contained in:
parent
83bccead3d
commit
22b753e930
|
|
@ -145,6 +145,11 @@ export default {
|
|||
selected (newVal, oldVal) {
|
||||
if (newVal === oldVal) return
|
||||
this.onSelectTemplateIso()
|
||||
},
|
||||
imagesList () {
|
||||
if (this.value === '' && this.imagesList && this.imagesList.length > 0) {
|
||||
this.onClickRow(this.imagesList[0])
|
||||
}
|
||||
}
|
||||
},
|
||||
emits: ['emit-update-image', 'handle-search-filter'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue