This commit is contained in:
Almira Krdzic
2019-01-07 21:21:43 +01:00
parent 423bb18b29
commit 1c5a808a69

View File

@@ -12,7 +12,8 @@ const moduleReducers = {};
moduleReducers[REQUEST_SHOP_PACKAGES] = (state, action) => {
return Object.assign({}, state, {
isLoading: action.isLoading
isLoading: action.isLoading,
shopSearch: false,
});
};
@@ -61,6 +62,7 @@ moduleReducers[RECIEVE_SHOP_PACKAGES] = (state = {}, action) => {
moduleReducers[SEARCH_SHOP_PACKAGES_REQUEST] = (state, action) => {
return Object.assign({}, state, {
shopSearch: true,
isLoading: action.isLoading
});
};