mirror of
https://github.com/coder/coder.git
synced 2026-11-03 22:25:31 +08:00
feat: add multi-user dialog select for adding group members (#23396)
Instead of the single-user dropdown we had before.
This commit is contained in:
@@ -51,7 +51,7 @@ export const UserOrGroupAutocomplete: FC<UserOrGroupAutocompleteProps> = ({
|
||||
// This allows regular org members to see other members in their org
|
||||
// for workspace sharing, without needing site-wide user:read permission.
|
||||
const membersQuery = useQuery({
|
||||
...organizationMembers(organizationId),
|
||||
...organizationMembers(organizationId, { limit: 0 }),
|
||||
enabled: open,
|
||||
placeholderData: keepPreviousData,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user