From 976fb958fdf44ceb554cd7496be97af5c7594471 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sun, 26 Oct 2025 11:13:39 +0000 Subject: [PATCH] cleanups --- .../components/shared/config/configSections/TeamsSection.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);