fixing manage user
This commit is contained in:
@ -153,7 +153,7 @@ const EditDialog = () => {
|
|||||||
email: response.data.email,
|
email: response.data.email,
|
||||||
id_role: response.data.idRole,
|
id_role: response.data.idRole,
|
||||||
status: response.data.status,
|
status: response.data.status,
|
||||||
customerid: response.data.customer.id
|
customerid: response.data.customerid?.id || ''
|
||||||
}));
|
}));
|
||||||
// console.log('Customer ID from API:', response?.data.customerid);
|
// console.log('Customer ID from API:', response?.data.customerid);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user