feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -49,10 +49,9 @@ const PaymentMarkForExportButton = ({ bodyshop, payment, refetch, setPaymentCont
|
||||
}
|
||||
});
|
||||
if (!paymentUpdateResponse.errors) {
|
||||
notification.open({
|
||||
type: "success",
|
||||
notification.success({
|
||||
key: "paymentsuccessmarkforexport",
|
||||
message: t("payments.successes.markexported")
|
||||
title: t("payments.successes.markexported")
|
||||
});
|
||||
setPaymentContext({
|
||||
actions: {
|
||||
@@ -75,8 +74,8 @@ const PaymentMarkForExportButton = ({ bodyshop, payment, refetch, setPaymentCont
|
||||
}
|
||||
}
|
||||
} else {
|
||||
notification["error"]({
|
||||
message: t("payments.errors.exporting", {
|
||||
notification.error({
|
||||
title: t("payments.errors.exporting", {
|
||||
error: JSON.stringify(paymentUpdateResponse.error)
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user