Sfoglia il codice sorgente

[FIX] products parent filter

Gogs 7 anni fa
parent
commit
824c98d462
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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