Merge pull request 'payment-option-issue' (#38) from payment-option-issue into main
Reviewed-on: Pozomind/pozo-retail-app#38
This commit is contained in:
commit
a7aefab589
|
|
@ -4553,6 +4553,7 @@ const BSC1Payment = (props) => {
|
||||||
open={GlobalSalesPaymentoptions}
|
open={GlobalSalesPaymentoptions}
|
||||||
width={500}
|
width={500}
|
||||||
height={1000}
|
height={1000}
|
||||||
|
destroyOnClose={true}
|
||||||
handleCancel={() => {
|
handleCancel={() => {
|
||||||
dispatch(changeSalesPaymentoption(false));
|
dispatch(changeSalesPaymentoption(false));
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -1365,6 +1365,7 @@ function PaymentOptions() {
|
||||||
UserId,
|
UserId,
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
dispatch(changeCommonPaymentOptions([]));
|
||||||
console.error('Failed to refresh payment options', err);
|
console.error('Failed to refresh payment options', err);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue