diff --git a/app/components/catalog/CatalogConfigurator.vue b/app/components/catalog/CatalogConfigurator.vue index 48e946e..568b71b 100644 --- a/app/components/catalog/CatalogConfigurator.vue +++ b/app/components/catalog/CatalogConfigurator.vue @@ -232,22 +232,6 @@ function visibleFields(group: ProductGroup) { return parameterFields.filter((field) => getAllFieldOptions(group, field.key).length > 1); } -function visibleFieldsByColumn(group: ProductGroup) { - const visibleKeys = new Set(visibleFields(group).map((field) => field.key)); - - const leftColumn = parameterFields.filter((field) => ( - visibleKeys.has(field.key) - && ['widthMm', 'lengthM'].includes(field.key) - )); - - const rightColumn = parameterFields.filter((field) => ( - visibleKeys.has(field.key) - && ['thicknessMicron', 'quantityPerBox', 'sleeveBrand', 'colorTag', 'labelTag'].includes(field.key) - )); - - return { leftColumn, rightColumn }; -} - function requiredKeys(group: ProductGroup) { return visibleFields(group).map((field) => field.key); } @@ -516,74 +500,37 @@ function decrementSelected(group: ProductGroup) {
{{ field.label }}
+{{ field.label }}
-{{ field.label }}
- -