From 083a425b23a8dd09ff77d492d6568675354f93b4 Mon Sep 17 00:00:00 2001 From: robinvandermolen Date: Tue, 10 Dec 2024 16:39:49 +0100 Subject: [PATCH] :sparkles: [open-formulieren/open-forms#2177] Disabled logic --- src/components/Map/index.jsx | 66 +++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 31 deletions(-) diff --git a/src/components/Map/index.jsx b/src/components/Map/index.jsx index 2ca69bc72..8f3d311d6 100644 --- a/src/components/Map/index.jsx +++ b/src/components/Map/index.jsx @@ -134,39 +134,43 @@ const LeaftletMap = ({ > - + {!disabled && ( + + )} {coordinates && } - - {/*{disabled ? : }*/} + {!disabled && ( + + )} + {disabled && } {geoJsonCoordinates && geoJsonCoordinates.length && (