Show map by default on /catalog, add offersCount to products
All checks were successful
Build Docker Image / build (push) Successful in 3m27s

- Change displayMode from 'hero' to 'map-default' for /catalog
- Always show map on catalog page (fullWidthMap when no selectMode)
- Add offersCount to GetProducts, GetProductsBySupplier, GetProductsNearHub
- Remove CatalogHero from catalog page (hero content stays on /)
This commit is contained in:
Ruslan Bakiev
2026-01-22 17:22:22 +07:00
parent 39f8364edb
commit 062fcd2a50
5 changed files with 17 additions and 14 deletions

View File

@@ -2,5 +2,6 @@ query GetProducts {
products {
uuid
name
offersCount
}
}

View File

@@ -2,5 +2,6 @@ query GetProductsBySupplier($supplierUuid: String!) {
productsBySupplier(supplierUuid: $supplierUuid) {
uuid
name
offersCount
}
}

View File

@@ -2,5 +2,6 @@ query GetProductsNearHub($hubUuid: String!, $radiusKm: Float) {
productsNearHub(hubUuid: $hubUuid, radiusKm: $radiusKm) {
uuid
name
offersCount
}
}