Fix catalog UI issues
All checks were successful
Build Docker Image / build (push) Successful in 3m31s

1. Fix navbar height - prevent tag wrapping with overflow-hidden
2. Fix translation keys for mode labels and search form labels
3. Fix SelectionPanel - white glass header/search, no top gap
4. Map click fills active selector - emit full properties from map
This commit is contained in:
Ruslan Bakiev
2026-01-24 09:47:41 +07:00
parent 3140226bc3
commit 2a607d0d2d
5 changed files with 68 additions and 29 deletions

View File

@@ -265,16 +265,20 @@ const onBoundsChange = (bounds: MapBounds) => {
}
// Handle selection from map
const onMapSelect = (uuid: string) => {
const onMapSelect = (uuid: string, properties?: Record<string, any>) => {
const item = props.items.find(i => i.uuid === uuid)
if (item) {
selectedMapItem.value = item
emit('select', item)
} else if (props.useServerClustering) {
// For server clustering, item might not be in props.items
// Create minimal item with just uuid
selectedMapItem.value = { uuid }
emit('select', { uuid })
// For server clustering, include properties from cluster data
const mapItem: MapItem = {
uuid,
name: properties?.name,
...properties
}
selectedMapItem.value = mapItem
emit('select', mapItem)
}
}