Browse Source

[FIX] products parent filter

Gogs 7 years ago
parent
commit
824c98d462
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/store/modules/products.js

+ 1 - 1
src/store/modules/products.js

@@ -7,7 +7,7 @@ const state = {
 
 const getters = {
     getProducts (state) {
-        return state.filteredProducts.length === 0 ? state.products : state.filtered
+        return state.filteredProducts.length === 0 ? state.products : state.filteredProducts
     },
     getSelectedProduct(state) {
         return state.selectedProduct