fix: transaction_type null handling

This commit is contained in:
Wikzyy
2025-09-09 18:55:48 +07:00
parent 59c8b11c70
commit ceb023e871

View File

@ -211,7 +211,7 @@ const EditDialog = () => {
cashback_cash: response.data?.cashback_cash,
status: response.data?.status,
provider: response.data?.provider?.id,
transaction_type: response.data.transaction_type.id,
transaction_type: response.data?.transaction_type?.id,
process_on_third_party: response.data?.process_on_third_party
}));
} else {