mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 20:05:03 -02:30
fix linkpath class
This commit is contained in:
@@ -322,9 +322,6 @@ export default ['$state','moment', '$timeout', '$window', '$filter', 'Rest', 'Ge
|
|||||||
|
|
||||||
baseSvg.selectAll(".WorkflowChart-linkPath")
|
baseSvg.selectAll(".WorkflowChart-linkPath")
|
||||||
.transition()
|
.transition()
|
||||||
.attr("class", function(d) {
|
|
||||||
return (d.source.id === scope.graphState.nodeBeingAdded || d.target.id === scope.graphState.nodeBeingAdded) ? "WorkflowChart-linkPath WorkflowChart-isNodeBeingAdded" : "WorkflowChart-linkPath";
|
|
||||||
})
|
|
||||||
.attr("d", lineData)
|
.attr("d", lineData)
|
||||||
.attr('stroke', function(d) {
|
.attr('stroke', function(d) {
|
||||||
let edgeType = d.edgeType;
|
let edgeType = d.edgeType;
|
||||||
@@ -477,9 +474,7 @@ export default ['$state','moment', '$timeout', '$window', '$filter', 'Rest', 'Ge
|
|||||||
|
|
||||||
// Add entering links in the parent’s old position.
|
// Add entering links in the parent’s old position.
|
||||||
linkEnter.insert("path", "g")
|
linkEnter.insert("path", "g")
|
||||||
.attr("class", function(d) {
|
.attr("class", "WorkflowChart-linkPath")
|
||||||
return (d.source.id === scope.graphState.nodeBeingAdded || d.target.id === scope.graphState.nodeBeingAdded) ? "WorkflowChart-linkPath WorkflowChart-isNodeBeingAdded" : "WorkflowChart-linkPath";
|
|
||||||
})
|
|
||||||
.attr("d", lineData)
|
.attr("d", lineData)
|
||||||
.call(edit_link)
|
.call(edit_link)
|
||||||
.on("mouseenter", function(d) {
|
.on("mouseenter", function(d) {
|
||||||
|
|||||||
Reference in New Issue
Block a user