mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-31 01:47:11 +03:00
parent
ebc4070b10
commit
7c38bd3493
@ -539,7 +539,7 @@ const getDataZone = (zone = '0', configuredZones) => {
|
||||
if (zones && Array.isArray(zones)) {
|
||||
rtn = zones[0]
|
||||
if (Number.isInteger(parseInt(zone, 10))) {
|
||||
rtn = zones.find((zn) => zn && zn.id && String(zn.id) === zone)
|
||||
rtn = zones.find((zn) => zn && zn.id && String(zn.id) === String(zone))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user