orderiom-api-package 0.4.25 → 0.4.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/modules/product.js +8 -8
package/package.json
CHANGED
package/src/modules/product.js
CHANGED
|
@@ -276,12 +276,12 @@ const actions = {
|
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
dispatch("getProducts", {
|
|
279
|
-
category:
|
|
280
|
-
restaurantId
|
|
279
|
+
category: state.selectedCategory,
|
|
280
|
+
restaurantId,
|
|
281
281
|
});
|
|
282
282
|
dispatch("getAttributeItems", {
|
|
283
|
-
category:
|
|
284
|
-
restaurantId
|
|
283
|
+
category: state.selectedCategory,
|
|
284
|
+
restaurantId
|
|
285
285
|
});
|
|
286
286
|
} else {
|
|
287
287
|
commit('setCategories', categories);
|
|
@@ -297,12 +297,12 @@ const actions = {
|
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
dispatch("getProducts", {
|
|
300
|
-
category:
|
|
301
|
-
restaurantId
|
|
300
|
+
category: state.selectedCategory,
|
|
301
|
+
restaurantId,
|
|
302
302
|
});
|
|
303
303
|
dispatch("getAttributeItems", {
|
|
304
|
-
category:
|
|
305
|
-
restaurantId
|
|
304
|
+
category: state.selectedCategory,
|
|
305
|
+
restaurantId
|
|
306
306
|
});
|
|
307
307
|
}
|
|
308
308
|
});
|