From b5a36de5bd5f61385ac7e74fc2390aec7f03f0fe 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)