fixes
This commit is contained in:
@@ -12,7 +12,8 @@ const moduleReducers = {};
|
|||||||
|
|
||||||
moduleReducers[REQUEST_SHOP_PACKAGES] = (state, action) => {
|
moduleReducers[REQUEST_SHOP_PACKAGES] = (state, action) => {
|
||||||
return Object.assign({}, state, {
|
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) => {
|
moduleReducers[SEARCH_SHOP_PACKAGES_REQUEST] = (state, action) => {
|
||||||
return Object.assign({}, state, {
|
return Object.assign({}, state, {
|
||||||
|
shopSearch: true,
|
||||||
isLoading: action.isLoading
|
isLoading: action.isLoading
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user