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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user