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());