Skip to content
Snippets Groups Projects

Resolve "MacrorugoRemous: erreur de sélection de la passe"

1 unresolved thread
2 files
+ 16
10
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -26,7 +26,8 @@ import {
Espece,
VariatedDetails,
ParallelStructure,
MacrorugoRemous
MacrorugoRemous,
Props
} from "jalhyd";
import { generateValuesCombination, getUnformattedIthResult, getUnformattedIthValue } from "../../util/util";
@@ -1273,10 +1274,10 @@ export class GenericCalculatorComponent implements OnInit, DoCheck, AfterViewChe
}
public async generateBackwaterInPAM() {
const f: FormulaireDefinition = await this.formulaireService.createFormulaire(CalculatorType.MacrorugoRemous);
const mrr = (f.currentNub as MacrorugoRemous);
mrr.setPropValue("nubMacroRugo", this.formulaire.currentNub.uid);
mrr.syncSectionMacroRugo();
const nub = Session.getInstance().createSessionNub(
new Props({ calcType: CalculatorType.MacrorugoRemous, nubMacroRugo: this.formulaire.currentNub.uid})
) as MacrorugoRemous;
const f: FormulaireDefinition = await this.formulaireService.createFormulaire(CalculatorType.MacrorugoRemous, nub);
this.router.navigate(["/calculator", f.uid]);
}
Loading