From 8d405c1f838637bf7333d31a45eb03ece993bfc9 Mon Sep 17 00:00:00 2001 From: Pierre Narcisi Date: Mon, 28 Aug 2023 11:57:40 +0200 Subject: [PATCH] fix(synthese): fix color that changed --- .../synthese-results/synthese-carte/synthese-carte.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/app/syntheseModule/synthese-results/synthese-carte/synthese-carte.component.ts b/frontend/src/app/syntheseModule/synthese-results/synthese-carte/synthese-carte.component.ts index 35d23f25ca..a5fcaae3c3 100644 --- a/frontend/src/app/syntheseModule/synthese-results/synthese-carte/synthese-carte.component.ts +++ b/frontend/src/app/syntheseModule/synthese-results/synthese-carte/synthese-carte.component.ts @@ -355,6 +355,7 @@ export class SyntheseCarteComponent implements OnInit, AfterViewInit, OnChanges, private setAreasStyle(layer, obsNbr) { this.originAreasStyle['fillColor'] = this.getColor(obsNbr); layer.setStyle(this.originAreasStyle); + delete this.originAreasStyle['fillColor']; } private getColor(obsNbr) {