diff --git a/ui/src/views/image/RegisterOrUploadTemplate.vue b/ui/src/views/image/RegisterOrUploadTemplate.vue index adb901f7c63..00bcacba893 100644 --- a/ui/src/views/image/RegisterOrUploadTemplate.vue +++ b/ui/src/views/image/RegisterOrUploadTemplate.vue @@ -773,7 +773,7 @@ export default { } for (let i = 0; i < value.length; i++) { - const zoneSelected = this.zones.opts.filter(zone => zone.name === value[i]) + const zoneSelected = this.zones.opts.filter(zone => zone.id === value[i]) if (zoneSelected.length > 0) { params.zoneid = zoneSelected[0].id