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

Formulaire: clear results before triggering calculation

Showing with 1 addition and 0 deletions
+1 -0
...@@ -295,6 +295,7 @@ export class GenericCalculatorComponent implements OnInit, DoCheck, AfterViewChe ...@@ -295,6 +295,7 @@ export class GenericCalculatorComponent implements OnInit, DoCheck, AfterViewChe
} }
public doCompute() { public doCompute() {
this._formulaire.resetResults([]);
this.appComponent.showProgressBar = true; this.appComponent.showProgressBar = true;
this._computeClicked = true; this._computeClicked = true;
setTimeout(() => { setTimeout(() => {
......
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