myOrder popup
This commit is contained in:
@@ -165,7 +165,7 @@ export const getMyinfoOrderDetailSearch =
|
||||
};
|
||||
|
||||
export const getMyinfoOrderShippingSearch =
|
||||
(params) => (dispatch, getState) => {
|
||||
(params, callback) => (dispatch, getState) => {
|
||||
const { mbrNo, ordNo, patnrId, prdtId, prodSno } = params;
|
||||
|
||||
const onSuccess = (response) => {
|
||||
@@ -175,6 +175,8 @@ export const getMyinfoOrderShippingSearch =
|
||||
type: types.GET_MY_INFO_ORDER_SHIPPING_SEARCH,
|
||||
payload: response.data.data,
|
||||
});
|
||||
|
||||
if (callback) callback(response.data);
|
||||
};
|
||||
|
||||
const onFail = (error) => {
|
||||
|
||||
Reference in New Issue
Block a user