Fix: InfoPanel not showing - use showPanel prop
All checks were successful
Build Docker Image / build (push) Successful in 3m48s
All checks were successful
Build Docker Image / build (push) Successful in 3m48s
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user