mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
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…
x
Reference in New Issue
Block a user