mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-06 03:30:25 -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);
|
||||
try {
|
||||
await updatePaymentMethod({
|
||||
...row,
|
||||
...values,
|
||||
id: row.id,
|
||||
});
|
||||
toast.success(t('updateSuccess'));
|
||||
ref.current?.refresh();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user