From 7fede5bd72f7bc8f3a0a5d09f81335b2a746fe50 Mon Sep 17 00:00:00 2001 From: Dean Date: Thu, 10 Mar 2022 15:48:11 +0000 Subject: [PATCH] Added fix to accomodate a cleared attribution field --- .../client/src/components/app/embedded-map/EmbeddedMap.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/app/embedded-map/EmbeddedMap.svelte b/packages/client/src/components/app/embedded-map/EmbeddedMap.svelte index 642d22c009..692735e9a9 100644 --- a/packages/client/src/components/app/embedded-map/EmbeddedMap.svelte +++ b/packages/client/src/components/app/embedded-map/EmbeddedMap.svelte @@ -237,7 +237,7 @@ mapMarkerGroup.addTo(mapInstance) L.tileLayer(tileURL, { - attribution: "© " + mapAttribution, //No attribution, warning? + attribution: "© " + mapAttribution || "", zoom: adjustedZoomLevel, }).addTo(mapInstance)