Merge branch '2134-Fallos-en-las-relaciones-de-nodos,-el-regreso-2-dev' into 'develop'

Fixed issue in networkmap

See merge request artica/pandorafms!1453
This commit is contained in:
nramon 2018-04-26 12:42:27 +02:00
commit 21f6c7e650
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ function get_relations(node_param) {
var links_id_db = [];
jQuery.each(graph.links, function (i, link_each) {
if (node_param.id == link_each.source.id || node_param.id == link_each.target.id) {vo
if (node_param.id == link_each.source.id || node_param.id == link_each.target.id) {
if(links_id_db.length > 0){
if(links_id_db.indexOf(link_each.id_db) == -1){
return_links.push(link_each);