mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
[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…
x
Reference in New Issue
Block a user