From 899c4617e06812300789737afc40aff7d2fc952f Mon Sep 17 00:00:00 2001 From: "francois.grand" <francois.grand@irstea.fr> Date: Mon, 15 Jan 2018 11:47:07 +0100 Subject: [PATCH] =?UTF-8?q?ticket=20#37=20:=20correction=20du=20domaine=20?= =?UTF-8?q?de=20d=C3=A9finition=20des=20pr=C3=A9cisions=20d'affichage=20et?= =?UTF-8?q?=20de=20calcul?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/components/app-setup/app-setup.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/app-setup/app-setup.component.ts b/src/app/components/app-setup/app-setup.component.ts index f4d582f4e..416cb16dc 100644 --- a/src/app/components/app-setup/app-setup.component.ts +++ b/src/app/components/app-setup/app-setup.component.ts @@ -26,10 +26,10 @@ export class ApplicationSetupComponent implements Observer { private appSetupService: ApplicationSetupService, private intlService: InternationalisationService ) { - this._displayPrec = new NgBaseParam("dp", ParamDomainValue.NOT_NULL, this.appSetupService.displayPrecision); + this._displayPrec = new NgBaseParam("dp", ParamDomainValue.POS, this.appSetupService.displayPrecision); this._displayPrec.addObserver(this); - this._computePrec = new NgBaseParam("cp", ParamDomainValue.NOT_NULL, this.appSetupService.computePrecision); + this._computePrec = new NgBaseParam("cp", ParamDomainValue.POS, this.appSetupService.computePrecision); this._computePrec.addObserver(this); } -- GitLab