Unify CatalogPage: fixed map, hover support, delete ListMapLayout
All checks were successful
Build Docker Image / build (push) Successful in 4m31s
All checks were successful
Build Docker Image / build (push) Successful in 4m31s
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
map-id="offers-map"
|
||||
point-color="#f59e0b"
|
||||
:selected-id="selectedOfferId"
|
||||
v-model:hovered-id="hoveredOfferId"
|
||||
@select="onSelectOffer"
|
||||
>
|
||||
<template #filters>
|
||||
@@ -78,8 +79,9 @@ const onProductFilterChange = (value: string) => {
|
||||
setProductUuid(value === 'all' ? null : value)
|
||||
}
|
||||
|
||||
// Selected offer for map highlighting
|
||||
// Selected/hovered offer for map highlighting
|
||||
const selectedOfferId = ref<string>()
|
||||
const hoveredOfferId = ref<string>()
|
||||
|
||||
const onSelectOffer = (offer: any) => {
|
||||
selectedOfferId.value = offer.uuid
|
||||
|
||||
Reference in New Issue
Block a user