Redesign productDetail dialog

This commit is contained in:
tobias committed 2024-09-20 15:08:17 +02:00
1 parent 88c43d62c6
commit 871f8cac7a
18 files changed
+230 -174

No files matched your search

+1 -1
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) =>