reseller to customer
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {
|
||||
RECIEVE_SHOP_PACKAGES,
|
||||
RECIEVE_SHOP_COMMERCIAL_LEADS,
|
||||
SELECT_SHOP_COMMERCIAL_LEAD,
|
||||
RECEIVE_SHOPS,
|
||||
SELECT_SHOP,
|
||||
REQUEST_SHOP_PACKAGES
|
||||
} from '../../constants/coMarketConstants';
|
||||
|
||||
@@ -20,15 +20,15 @@ moduleReducers[RECIEVE_SHOP_PACKAGES] = (state, action) => {
|
||||
});
|
||||
};
|
||||
|
||||
moduleReducers[RECIEVE_SHOP_COMMERCIAL_LEADS] = (state, action) => {
|
||||
moduleReducers[RECEIVE_SHOPS] = (state, action) => {
|
||||
return Object.assign({}, state, {
|
||||
commercialLeads: action.commercialLeads
|
||||
shops: action.shops
|
||||
});
|
||||
};
|
||||
|
||||
moduleReducers[SELECT_SHOP_COMMERCIAL_LEAD] = (state, action) => {
|
||||
moduleReducers[SELECT_SHOP] = (state, action) => {
|
||||
return Object.assign({}, state, {
|
||||
selectedCommercialLead: action.selectedCommercialLead
|
||||
selectedShop: action.selectedShop
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user