refactor: убрать автовыбор продукта, карточки на всю ширину
All checks were successful
Build Docker Image / build (push) Successful in 4m53s

This commit is contained in:
Ruslan Bakiev
2026-01-16 00:02:17 +07:00
parent 25030f0350
commit bab0e9e539
2 changed files with 2 additions and 7 deletions

View File

@@ -43,7 +43,7 @@
</template>
<template #filters>
<div class="flex gap-3 overflow-x-auto pb-2">
<div class="grid grid-cols-2 sm:grid-cols-3 gap-3">
<HubProductCard
v-for="product in products"
:key="product.uuid"
@@ -225,11 +225,6 @@ try {
products.value = (productsData.value?.getAvailableProducts || [])
.filter((p): p is { uuid: string; name: string } => p !== null && !!p.uuid && !!p.name)
.map(p => ({ uuid: p.uuid!, name: p.name! }))
// Auto-select first product
if (products.value.length > 0) {
selectedProductUuid.value = products.value[0].uuid
}
} catch (error) {
console.error('Error loading hub:', error)
} finally {