We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f07f63 commit 232dbb7Copy full SHA for 232dbb7
packages/ui/src/components/OrganizationProfile/InviteMembersForm.tsx
@@ -199,8 +199,8 @@ const AsyncRoleSelect = (field: ReturnType<typeof useFormControl<'role'>>) => {
199
return;
200
}
201
202
- // Skip if the default role from org settings is not in the current role set.
203
- // This will eventually be returned by the roles endpoint
+ // Skip if the default role from org settings is not in the current role set
+ // This will eventually be returned by the roles endpoint, and `organizationSettings.domains.defaultRole` will be deprecated
204
const defaultRoleExists = options?.some(option => option.value === defaultRole);
205
if (!defaultRoleExists) {
206
0 commit comments