diff --git a/src/shared/sections/user/all-users/user-quick-edit-form.tsx b/src/shared/sections/user/all-users/user-quick-edit-form.tsx index 2a7d3fa6dd9583939448b52b48fcc6aec8a19976..2b859b61b65e742278dcff9d78bb4dd5e96727fb 100644 --- a/src/shared/sections/user/all-users/user-quick-edit-form.tsx +++ b/src/shared/sections/user/all-users/user-quick-edit-form.tsx @@ -70,7 +70,7 @@ export default function UserQuickEditForm({ zipCode: currentUser?.zipCode || "", status: currentUser?.status, company: currentUser?.company || "", - role: currentUser?.roles.name || "", + role: currentUser?.roles?.name || "", }), [currentUser] );