Merge branch 'master' of https://git.shiblysolution.id/TPAY/dashboard
This commit is contained in:
@ -155,11 +155,11 @@ const EditDialog = () => {
|
|||||||
if (response?.status) {
|
if (response?.status) {
|
||||||
setFormField((prev) => ({
|
setFormField((prev) => ({
|
||||||
...prev,
|
...prev,
|
||||||
name: response?.data.name || null,
|
name: response?.data.name,
|
||||||
description: response?.data.description,
|
description: response?.data.description,
|
||||||
type: response?.data.type,
|
type: response?.data.type,
|
||||||
status: response?.data.status,
|
status: response?.data.status,
|
||||||
transaction_type: response?.data.transaction_type?.id || null,
|
transaction_type: response?.data.transaction_type?.id || '',
|
||||||
agent: response?.data.agent?.id || null
|
agent: response?.data.agent?.id || null
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
@ -327,7 +327,7 @@ const EditDialog = () => {
|
|||||||
setFormField({ ...formField, transaction_type: value })
|
setFormField({ ...formField, transaction_type: value })
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<SelectTrigger>
|
<SelectTrigger className="min-h-[40px] items-center">
|
||||||
<SelectValue placeholder="Select Transaction Type" />
|
<SelectValue placeholder="Select Transaction Type" />
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
<SelectContent>
|
<SelectContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user