fix: transaction_type null handling
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user