improvements: address feedback

This commit is contained in:
Scott Wilson
2024-10-09 11:52:02 -07:00
parent faad09961d
commit 0b247176bb
5 changed files with 9 additions and 11 deletions
@@ -84,7 +84,7 @@ export const AddOrgMemberModal = ({
resolver: zodResolver(addMemberFormSchema)
});
// set initial form role based off org default role
// set initial form role based off org default role
useEffect(() => {
if (organizationRoles) {
reset({
@@ -80,7 +80,8 @@ export const OrgRoleTable = () => {
if (isCustomRole && subscription && !subscription?.rbac) {
handlePopUpOpen("upgradePlan", {
description: "You can assign custom roles to members if you upgrade your Infisical plan."
description:
"You can set the default org role to a custom value if you upgrade your Infisical plan."
});
return;
}
@@ -135,7 +135,7 @@ export const OrgNameChangeSection = (): JSX.Element => {
name="defaultMembershipRole"
render={({ field: { value, onChange }, fieldState: { error } }) => (
<FormControl
helperText="Users joining your org will be assigned this role unless otherwise specified"
helperText="Users joining your organization will be assigned this role unless otherwise specified."
isError={Boolean(error)}
errorText={error?.message}
className="max-w-md"