fixing manage user

This commit is contained in:
Raja Oktafrianto
2025-04-15 16:15:23 +07:00
parent 6d37930856
commit 0ee61c2fc2

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.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 {