From d753fd6193f12614a4395d2d5aeb3ba94deaf944 Mon Sep 17 00:00:00 2001 From: "mathias.chouet" <mathias.chouet@irstea.fr> Date: Thu, 25 Apr 2019 15:26:59 +0200 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20de=20#175=20:=20suivi=20r?= =?UTF-8?q?=C3=A9cursif?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/components/param-link/param-link.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/param-link/param-link.component.ts b/src/app/components/param-link/param-link.component.ts index f4834cdb2..d0510e69b 100644 --- a/src/app/components/param-link/param-link.component.ts +++ b/src/app/components/param-link/param-link.component.ts @@ -51,16 +51,16 @@ export class ParamLinkComponent implements OnChanges, Observer, OnDestroy { } /** - * Returns true if current target needs to be calculated, + * Returns true if current target requires a calculation (direct or not), * whether the result is already available or not */ public get isCalculated(): boolean { const refValue = this.param.paramDefinition.referencedValue; - return refValue && (refValue.isResult() || refValue.isExtraResult()); + return refValue && refValue.isCalculated(); } /** - * Returns true if current target needs to be calculated, + * Returns true if current target requires a calculation (direct or not), * but result is not yet available */ public get isAwaitingCalculation(): boolean { -- GitLab