From edcd93e7d1df8c1f11880b773a7861164e6b543c Mon Sep 17 00:00:00 2001 From: Anass Bouassaba Date: Fri, 29 Nov 2024 06:41:24 +0100 Subject: [PATCH] fix: user selector for group (#46) --- Sources/Screens/Group/GroupMemberAdd.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Screens/Group/GroupMemberAdd.swift b/Sources/Screens/Group/GroupMemberAdd.swift index 557e825..b6ec5d3 100644 --- a/Sources/Screens/Group/GroupMemberAdd.swift +++ b/Sources/Screens/Group/GroupMemberAdd.swift @@ -27,7 +27,7 @@ struct GroupMemberAdd: View, FormValidatable, ErrorPresentable { Section { NavigationLink { if let group = groupStore.current { - UserSelector(groupID: group.id) { user in + UserSelector(organizationID: group.organization.id) { user in self.user = user } }