Redesign productDetail dialog

This commit is contained in:
2024-09-20 15:08:17 +02:00
parent 54d13686cf
commit 718dbe30b7
18 changed files with 230 additions and 174 deletions

View File

@@ -25,7 +25,7 @@ export const useProductStore = defineStore("productStore", {
},
async filterProducts() {
if (this.filteredCategory.id == -1) {
if (this.filteredCategory.id == -1 || this.filteredCategory.id == 0) {
this.filteredProducts = this.products
} else {
this.filteredProducts = this.products.filter((product: ProductWithCategoryModel) =>