From 1b0fae116406ece330e8bec48cb7c58d8a639dcf Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Wed, 21 Jan 2026 14:40:38 +0700 Subject: [PATCH] Fix map click in server clustering mode when item not loaded When using server-side clustering, the clicked item's uuid might not be in the paginated props.items array. Now emits a minimal object with just uuid so parent pages can still navigate. --- app/components/page/CatalogPage.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/components/page/CatalogPage.vue b/app/components/page/CatalogPage.vue index 01f5060..d2783c4 100644 --- a/app/components/page/CatalogPage.vue +++ b/app/components/page/CatalogPage.vue @@ -332,6 +332,11 @@ const onMapSelect = (uuid: string) => { if (item) { emit('select', item) emit('update:selectedId', uuid) + } else if (props.useServerClustering) { + // For server clustering, item might not be in paginated props.items + // Emit minimal item with just uuid so parent can still navigate + emit('select', { uuid }) + emit('update:selectedId', uuid) } }