Skip to content
Snippets Groups Projects
Commit bf604c8e authored by francois.grand's avatar francois.grand
Browse files

#77 correction bug d'affichage (résultats affichés sous les champs du...

 #77 correction bug d'affichage (résultats affichés sous les champs du formulaire au lieu de à droite en écran large)
parent 36a152fc
No related branches found
Tags 4.16.0
1 merge request!15Resolve "faire les modifications nécessaires prendre en compte le ticket cassiopee/jalhyd#46 (Gestion de la session dans la lib)"
...@@ -51,7 +51,7 @@ export class FormResultFixedVar extends FormResult { ...@@ -51,7 +51,7 @@ export class FormResultFixedVar extends FormResult {
} }
public get hasResults(): boolean { public get hasResults(): boolean {
return this._fixedResults.hasResults; return this._fixedResults.hasResults || this._varResults.hasResults;
} }
public get results(): CalculatorResults[] { public get results(): CalculatorResults[] {
......
...@@ -59,6 +59,7 @@ export class FormResultSection extends FormResult { ...@@ -59,6 +59,7 @@ export class FormResultSection extends FormResult {
public get hasResults(): boolean { public get hasResults(): boolean {
return (this._fixedResults != undefined && this._fixedResults.hasResults) return (this._fixedResults != undefined && this._fixedResults.hasResults)
|| (this._varResults != undefined && this._varResults.hasResults)
|| (this._sectionResults != undefined && this._sectionResults.hasResults); || (this._sectionResults != undefined && this._sectionResults.hasResults);
} }
......
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