mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-12-18 20:04:17 +01:00
cleanups
This commit is contained in:
parent
ac88125bf5
commit
976fb958fd
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user