Commit a028109b authored by Mathias Chouet's avatar Mathias Chouet :spaghetti:
Browse files

Fixed bug in variated PAB

Showing with 1 addition and 2 deletions
+1 -2
...@@ -110,7 +110,6 @@ export class PabProfileGraphComponent extends ResultsComponent { ...@@ -110,7 +110,6 @@ export class PabProfileGraphComponent extends ResultsComponent {
} }
public updateView() { public updateView() {
console.log("PPG => updateView() !");
this.generateScatterGraph(); this.generateScatterGraph();
} }
......
...@@ -51,7 +51,7 @@ export class FormComputePab extends FormCompute { ...@@ -51,7 +51,7 @@ export class FormComputePab extends FormCompute {
pabr.cloisonAvalResults = pab.downWall.result; pabr.cloisonAvalResults = pab.downWall.result;
// cote aval de la passe // cote aval de la passe
if (pab.prms.Z2.hasMultipleValues) { if (varParams.length > 0) {
// find longest list // find longest list
let longest = 0; let longest = 0;
for (let i = 0; i < varParams.length; i++) { for (let i = 0; i < varParams.length; i++) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment