Merge branch '2189-Mapa-de-red-Falla-Wajahat-dev' into 'develop'
Fixed issue when target = -1 in networkmap See merge request artica/pandorafms!1434
This commit is contained in:
commit
14467eb3ac
|
@ -836,7 +836,7 @@ function networkmap_links_to_js_links($relations, $nodes_graph) {
|
|||
$item['source'] = $node['id'];
|
||||
}
|
||||
}
|
||||
if (($item['target'] == -1) && ($item['source'] == -1) && $relation['parent_type'] == 1 && $relation['child_type'] == 1) {
|
||||
if ((($item['target'] == -1) || ($item['source'] == -1)) && $relation['parent_type'] == 1 && $relation['child_type'] == 1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue