fix customer dropdown on edit manage user

This commit is contained in:
Wikzyy
2025-04-16 10:04:58 +07:00
parent 81c84dc1cd
commit 538ae3d090

View File

@ -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.customerid?.id || '' customerid: response.data.customer?.id || ''
})); }));
// console.log('Customer ID from API:', response?.data.customerid); // console.log('Customer ID from API:', response?.data.customerid);
} else { } else {