Move filterByBounds to map, show only when panel is open
All checks were successful
Build Docker Image / build (push) Successful in 3m46s

This commit is contained in:
Ruslan Bakiev
2026-01-26 15:00:30 +07:00
parent 5ca995ebcc
commit 2d83110ef1
3 changed files with 20 additions and 14 deletions

View File

@@ -9,9 +9,11 @@
:items="currentSelectionItems"
:hovered-id="hoveredItemId ?? undefined"
:show-panel="showPanel"
:filter-by-bounds="filterByBounds"
:related-points="relatedPoints"
@select="onMapSelect"
@bounds-change="onBoundsChange"
@update:filter-by-bounds="filterByBounds = $event"
>
<!-- Panel slot - shows selection list OR info OR quote results -->
<template #panel>
@@ -25,12 +27,10 @@
:loading="selectionLoading"
:loading-more="selectionLoadingMore"
:has-more="selectionHasMore && !filterByBounds"
:filter-by-bounds="filterByBounds"
@select="onSelectItem"
@close="onClosePanel"
@load-more="onLoadMore"
@hover="onHoverItem"
@update:filter-by-bounds="filterByBounds = $event"
/>
<!-- Info mode: show detailed info about selected entity -->