mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-17 13:51:10 -05:00
🐛 fix(payment): Update payment method update logic to include row data
This commit is contained in:
parent
710947209a
commit
6752420ba5
@ -149,8 +149,8 @@ export default function PaymentTable() {
|
|||||||
setLoading(true);
|
setLoading(true);
|
||||||
try {
|
try {
|
||||||
await updatePaymentMethod({
|
await updatePaymentMethod({
|
||||||
|
...row,
|
||||||
...values,
|
...values,
|
||||||
id: row.id,
|
|
||||||
});
|
});
|
||||||
toast.success(t('updateSuccess'));
|
toast.success(t('updateSuccess'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user