commit | 2b29ca44148561e26a628122c84e11476eef5a09 | [log] [tgz] |
---|---|---|
author | Steven Burrows <sburrows@villa-technologies.com> | Fri May 12 10:58:05 2017 -0400 |
committer | Simon Hunt <simon@onlab.us> | Fri May 12 15:31:53 2017 +0000 |
tree | c49874c0782cd7b07f8b19e780c5f89abe017c83 | |
parent | 3c503616305fd9607540a7badf348581e7d8a7e5 [diff] [blame] |
Topo2: Updated collection to ignore models with the same Id Change-Id: Ic2faadb76f865921092217bda0aac636349cc1af
diff --git a/web/gui/src/main/webapp/app/view/topo2/topo2Layout.js b/web/gui/src/main/webapp/app/view/topo2/topo2Layout.js index 97fac88..a64a75b 100644 --- a/web/gui/src/main/webapp/app/view/topo2/topo2Layout.js +++ b/web/gui/src/main/webapp/app/view/topo2/topo2Layout.js
@@ -230,7 +230,7 @@ var regionLinks = t2rs.regionLinks(); this.link = this.elements.linkG.selectAll('.link') - .data(regionLinks, function (d) { return d.get('key'); }); + .data(regionLinks, function (d) { return d.get('id'); }); // operate on entering links: var entering = this.link.enter()