From 0f3f9e4653ffcc10f718492f591532feaec30c16 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Wed, 15 Jan 2025 13:04:02 +0200 Subject: [PATCH] UI: Fix issue where drawing a circle didn't work in map widgets --- .../app/modules/home/components/widget/lib/maps/leaflet-map.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/maps/leaflet-map.ts b/ui-ngx/src/app/modules/home/components/widget/lib/maps/leaflet-map.ts index ee5af0bfb5..f74acd9f2c 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/maps/leaflet-map.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/maps/leaflet-map.ts @@ -357,7 +357,7 @@ export default abstract class LeafletMap { this.map.pm.Toolbar.copyDrawControl('Circle', { name: 'tbCircle', afterClick: () => this.selectEntityWithoutLocation('tbCircle'), - disabled: true, + disabled: false, actions }); }