weizhouapache commented on code in PR #10865:
URL: https://github.com/apache/cloudstack/pull/10865#discussion_r2095262657
##########
ui/src/views/image/RegisterOrUploadIso.vue:
##########
@@ -467,6 +478,12 @@ export default {
this.fileList = newFileList
this.form.file = undefined
},
+ handleDirectDownloadChange () {
+ if (this.form.zoneid && this.zoneList.find(entry => entry.id ===
this.form.zoneid)) {
+ return
+ }
+ this.form.zoneid = this.zoneList?.[0]?.id || ''
Review Comment:
@shwstppr
line 485 set the this.form.zoneid to the id of first zone , is it needed ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]