From eafa772a90c59e6f19e23b6073b3323ac51e1639 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 7a62d32de..7134ff53d 100644 --- a/src/components/Map/index.jsx +++ b/src/components/Map/index.jsx @@ -135,39 +135,43 @@ const LeaftletMap = ({ > - + {!disabled && ( + + )} {coordinates && } - - {/*{disabled ? : }*/} + {!disabled && ( + + )} + {disabled && } {geoJsonCoordinates && geoJsonCoordinates.length && (