diff --git a/app/components/page/CatalogPage.vue b/app/components/page/CatalogPage.vue index d101c8f..ec1fc10 100644 --- a/app/components/page/CatalogPage.vue +++ b/app/components/page/CatalogPage.vue @@ -16,9 +16,9 @@ (null) // Mobile panel state const mobilePanelExpanded = ref(false) +// Info mode - when relatedPoints are present, hide clusters and show only related points +const isInfoMode = computed(() => props.relatedPoints && props.relatedPoints.length > 0) + // Hovered item with coordinates for map highlight const hoveredItem = computed(() => { if (!props.hoveredId) return null @@ -326,7 +329,8 @@ const itemsWithCoords = computed(() => const onBoundsChange = (bounds: MapBounds) => { currentBounds.value = bounds emit('bounds-change', bounds) - if (props.useServerClustering) { + // Don't fetch clusters when in info mode + if (props.useServerClustering && !isInfoMode.value) { fetchClusters(bounds) } }