diff --git a/app/pages/catalog/hubs/index.vue b/app/pages/catalog/hubs/index.vue index 9a5494c..c29c3a8 100644 --- a/app/pages/catalog/hubs/index.vue +++ b/app/pages/catalog/hubs/index.vue @@ -54,10 +54,11 @@ + + Выберите хаб + + - - {{ country.name }} - @@ -98,7 +99,6 @@ const { countryFilters, isLoading, isLoadingMore, - itemsByCountry, canLoadMore, loadMore, init @@ -175,19 +175,6 @@ const onSelectHub = (hub: any) => { selectedHubId.value = hub.uuid } -// Helper to get country for hub -const getCountryForHub = (hub: any) => { - return itemsByCountry.value.filter(c => c.hubs.some(h => h.uuid === hub.uuid)) -} - -// Check if this hub is first in its country group -const isFirstInCountry = (hub: any) => { - for (const country of itemsByCountry.value) { - if (country.hubs[0]?.uuid === hub.uuid) return true - } - return false -} - await init() useHead(() => ({ diff --git a/app/pages/catalog/offers/index.vue b/app/pages/catalog/offers/index.vue index dbcafc9..a12ed2a 100644 --- a/app/pages/catalog/offers/index.vue +++ b/app/pages/catalog/offers/index.vue @@ -19,22 +19,7 @@ - - - - - - - {{ t('catalogProducts.empty.title') }} - {{ t('catalogProducts.empty.subtitle') }} - - - - - - {{ t('catalogProducts.header.title') }} - {{ t('catalogProducts.header.subtitle', { count: products.length }) }} - + Выберите товар diff --git a/app/pages/catalog/suppliers/index.vue b/app/pages/catalog/suppliers/index.vue index d43370f..f9a0162 100644 --- a/app/pages/catalog/suppliers/index.vue +++ b/app/pages/catalog/suppliers/index.vue @@ -22,6 +22,10 @@ /> + + Выберите поставщика + +