This commit is contained in:
Anton Tranelis 2025-01-29 14:17:13 +00:00
parent 9c0a11ceee
commit c704308010

View File

@ -125,6 +125,7 @@ export function UtopiaMapInner({
const id = window.location.pathname.split('/')[1]
// eslint-disable-next-line security/detect-object-injection
const ref = leafletRefs[id]
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
if (ref) {
clusterRef.hasLayer(ref.marker) &&
clusterRef?.zoomToShowLayer(ref.marker, () => {