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="suppliers-map"
|
||||
point-color="#3b82f6"
|
||||
:selected-id="selectedSupplierId"
|
||||
v-model:hovered-id="hoveredSupplierId"
|
||||
@select="onSelectSupplier"
|
||||
>
|
||||
<template #card="{ item }">
|
||||
@@ -44,8 +45,9 @@ const {
|
||||
init
|
||||
} = useCatalogSuppliers()
|
||||
|
||||
// Selected supplier for map highlighting
|
||||
// Selected/hovered supplier for map highlighting
|
||||
const selectedSupplierId = ref<string>()
|
||||
const hoveredSupplierId = ref<string>()
|
||||
|
||||
const onSelectSupplier = (supplier: any) => {
|
||||
selectedSupplierId.value = supplier.uuid || supplier.teamUuid
|
||||
|
||||
Reference in New Issue
Block a user