Skip to content
Snippets Groups Projects
Commit 1bcce0b5 authored by François Grand's avatar François Grand
Browse files

fix: predams results: do not show fixed parameters in case of error

refs #614
parent a95ebb1a
No related branches found
No related tags found
No related merge requests found
Pipeline #140394 passed
...@@ -127,7 +127,7 @@ export class PrebarrageResults extends MultiDimensionResults implements IObserva ...@@ -127,7 +127,7 @@ export class PrebarrageResults extends MultiDimensionResults implements IObserva
} }
public get hasWallResults(): boolean { public get hasWallResults(): boolean {
return this.cloisonResults && this.cloisonResults.result && ! this.cloisonResults.result.hasOnlyErrors; return this.cloisonResults?.result?.ok;
} }
/** retourne true si au moins un calcul a échoué (le log a un code négatif) */ /** retourne true si au moins un calcul a échoué (le log a un code négatif) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment