diff --git a/software/src/pages/productsPage/index.vue b/software/src/pages/productsPage/index.vue index f205b31..09f6f90 100644 --- a/software/src/pages/productsPage/index.vue +++ b/software/src/pages/productsPage/index.vue @@ -93,15 +93,11 @@ function filterProducts() { ) } - console.log("1", filteredProducts.value) - if (onlyDiscounts.value) { filteredProducts.value = filteredProducts.value.filter(product => product.discount > 0 ) } - - console.log("2", filteredProducts.value) } watch(() => selectedCategory.value, () => { filterProducts() }) @@ -123,11 +119,18 @@ watch(() => onlyDiscounts.value, () => { filterProducts() }) - + + + + + \ No newline at end of file