From bb840f8d2a4ebaae28a78e504999aab959346b0f Mon Sep 17 00:00:00 2001 From: "mathias.chouet" <mathias.chouet@irstea.fr> Date: Tue, 4 Feb 2020 15:51:19 +0100 Subject: [PATCH] Modules diagram: fix bug in solveur target connection --- src/app/components/modules-diagram/modules-diagram.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/modules-diagram/modules-diagram.component.ts b/src/app/components/modules-diagram/modules-diagram.component.ts index a1081c578..6ae5a2a8f 100644 --- a/src/app/components/modules-diagram/modules-diagram.component.ts +++ b/src/app/components/modules-diagram/modules-diagram.component.ts @@ -208,7 +208,7 @@ export class ModulesDiagramComponent implements AfterContentInit, AfterViewCheck def.push(ntc.uid + "-->|" + reads + ":" + ntc.calculatedParam.symbol + "|" + nub.uid); } if (sp !== undefined) { - def.push(nub.uid + "-->|" + finds + ":" + sp.symbol + "|" + sp.uid); + def.push(nub.uid + "-->|" + finds + ":" + sp.symbol + "|" + sp.parentNub.uid); } } } -- GitLab