Update awx/ui/src/screens/TopologyView/MeshGraph.js

Co-authored-by: Tiago Góes <tiago.goes2009@gmail.com>
This commit is contained in:
kialam 2022-02-16 14:55:37 -08:00 committed by Kia Lam
parent b1570302bc
commit c102bf05af

View File

@ -105,7 +105,7 @@ function MeshGraph({ data, showLegend, zoom }) {
.enter()
.append('line')
.attr('class', (_, i) => `link-${i}`)
.attr('data-cy', (d) => `${d.source}-${d.target}`)
.attr('data-cy', (d) => `${d.source.hostname}-${d.target.hostname}`)
.style('fill', 'none')
.style('stroke', '#ccc')
.style('stroke-width', '2px')