From 4121384050fa80f6f922f24eee3abdcc1080c16d Mon Sep 17 00:00:00 2001 From: Bruno Raimbault Date: Tue, 15 Sep 2026 16:50:42 +0200 Subject: [PATCH] fix: pass basemaps field through in dashboard embed config [DHIS2-22110] --- src/components/plugin/MapContainer.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/plugin/MapContainer.jsx b/src/components/plugin/MapContainer.jsx index af9ef298ac..e32149a988 100644 --- a/src/components/plugin/MapContainer.jsx +++ b/src/components/plugin/MapContainer.jsx @@ -18,6 +18,7 @@ const MapContainer = ({ visualization }) => { useEffect(() => { const { basemap: visBasemap, + basemaps: visBasemaps, mapViews, id, ...otherMapProps @@ -41,7 +42,7 @@ const MapContainer = ({ visualization }) => { ) } else { initialConfig = getMigratedMapConfig( - { basemap: visBasemap, mapViews }, + { basemap: visBasemap, basemaps: visBasemaps, mapViews }, keyDefaultBaseMap ) }