diff --git a/frontend/src/components/shared/config/configSections/TeamsSection.tsx b/frontend/src/components/shared/config/configSections/TeamsSection.tsx index 7c728069d..42f718bc7 100644 --- a/frontend/src/components/shared/config/configSections/TeamsSection.tsx +++ b/frontend/src/components/shared/config/configSections/TeamsSection.tsx @@ -150,8 +150,8 @@ export default function TeamsSection() { setSelectedTeam(team); try { // Fetch all users to show in dropdown - const users = await userManagementService.getUsers(); - setAvailableUsers(users); + const adminData = await userManagementService.getUsers(); + setAvailableUsers(adminData.users); setAddMemberModalOpened(true); } catch (error) { console.error('Failed to fetch users:', error);