Fix: offers map coords, map position, orders filter, select-location layout
All checks were successful
Build Docker Image / build (push) Successful in 3m38s

This commit is contained in:
Ruslan Bakiev
2026-01-08 13:01:54 +07:00
parent 8d1b7c6dc7
commit 53904ead05
4 changed files with 88 additions and 95 deletions

View File

@@ -1,6 +1,6 @@
<template>
<CatalogPage
:items="items"
:items="itemsForMap"
:loading="isLoading || productsLoading"
map-id="offers-map"
point-color="#f59e0b"
@@ -64,6 +64,13 @@ const {
setProductUuid
} = useCatalogOffers()
// Map items with correct coordinate field names
const itemsForMap = computed(() => items.value.map(offer => ({
...offer,
latitude: offer.locationLatitude,
longitude: offer.locationLongitude
})))
// Product filter options
const productFilters = computed(() => {
const all = [{ id: 'all', label: t('catalogOffersSection.filters.all_products') }]