Procházet zdrojové kódy

[FIX] products parent filter

Gogs před 7 roky
rodič
revize
824c98d462
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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