1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-08-24 17:49:28 +03:00

M #~: Fix minor (#1063)

This commit is contained in:
Sergio Betanzos
2021-04-05 13:25:11 +02:00
committed by GitHub
parent 43d0796dc2
commit ad7d57b9f3

View File

@ -445,7 +445,10 @@ define(function(require) {
new_div += "   " + this.IP;
}
if(String(this.EXTERNAL_IP).toLowerCase() !== 'yes') {
if (
this.EXTERNAL_IP !== undefined &&
!['yes', 'no'].includes(String(this.EXTERNAL_IP).toLowerCase())
) {
new_div += "   " + this.EXTERNAL_IP;
}