Fix: InfoPanel not showing - use showPanel prop
All checks were successful
Build Docker Image / build (push) Successful in 3m48s

This commit is contained in:
Ruslan Bakiev
2026-01-26 15:13:06 +07:00
parent 2d83110ef1
commit c76750a738

View File

@@ -185,8 +185,8 @@ import type { MapBounds } from '~/components/catalog/CatalogMap.vue'
const { mapViewMode, setMapViewMode, selectMode, startSelect, cancelSelect } = useCatalogSearch()
// Panel is open when selectMode is set
const isPanelOpen = computed(() => selectMode.value !== null)
// Panel is open when selectMode is set OR when showPanel prop is true (info/quote)
const isPanelOpen = computed(() => props.showPanel || selectMode.value !== null)
// Open panel based on current mapViewMode
const openPanel = () => {