Explorar o código

[FIX] products parent filter

Gogs %!s(int64=7) %!d(string=hai) anos
pai
achega
824c98d462
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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