Merge branch 'ent-3940-No-salen-IPs-en-mapas-netflow' into 'develop'
Fixed node name in netflow map See merge request artica/pandorafms!2386 Former-commit-id: 14cf4f85a78b092fb7efe10a05e63702d4dbcbb2
This commit is contained in:
commit
3b73ea95ae
|
@ -1684,7 +1684,12 @@ class NetworkMap
|
|||
$node[$k] = $v;
|
||||
}
|
||||
|
||||
$node['style']['label'] = $node['label'];
|
||||
if (!empty($node['text'])) {
|
||||
$node['style']['label'] = $node['text'];
|
||||
} else {
|
||||
$node['style']['label'] = $node['name'];
|
||||
}
|
||||
|
||||
$node['style']['shape'] = 'circle';
|
||||
if (isset($source_data['color'])) {
|
||||
$item['color'] = $source_data['color'];
|
||||
|
|
Loading…
Reference in New Issue