From b347220dd420987291898661e2afdbe8d1536a92 Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Mon, 11 Aug 2025 10:11:45 +0200 Subject: [PATCH] Fix flag check --- projects/common-map/src/fm-map/components/map/map.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/common-map/src/fm-map/components/map/map.component.ts b/projects/common-map/src/fm-map/components/map/map.component.ts index d2717d4..50b80f7 100644 --- a/projects/common-map/src/fm-map/components/map/map.component.ts +++ b/projects/common-map/src/fm-map/components/map/map.component.ts @@ -477,7 +477,7 @@ export class MapComponent implements OnInit, OnDestroy, AfterViewInit { } handleShowLayerValues(event: MouseEvent) { - if (this.hideShowLayerValues) { + if (!this.hideShowLayerValues) { event.stopPropagation(); this.zone.run(() => { this.store.dispatch(new mapActions.ToggleLayerValuesEnabled());