Redesign productDetail dialog
This commit is contained in:
1 parent
88c43d62c6
commit
871f8cac7a
18 files changed
+230
-174
No files matched your search
@@ -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) =>
|
||||
|
||||
Reference in new issue
Block a user