Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

improvement: adjust popover side and button label

Scott Wilsonb0635d18de22
diff --git a/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupRoles.tsx b/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupRoles.tsx
index fc6dae2988..722310ab22 100644
--- a/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupRoles.tsx
+++ b/frontend/src/pages/project/AccessControlPage/components/GroupsTab/components/GroupsSection/GroupRoles.tsx
@@ -163,7 +163,7 @@ const IdentityTemporaryRoleForm = ({
})()
}
>
- Grant access
+ Configure Duration
</Button>
) : (
<Button
@@ -478,7 +478,7 @@ export const GroupRoles = ({
<EditIcon />
</UnstableIconButton>
</PopoverTrigger>
- <PopoverContent className="w-72 p-0" onClick={(e) => e.stopPropagation()}>
+ <PopoverContent side="right" className="w-72 p-0" onClick={(e) => e.stopPropagation()}>
{isRolesLoading ? (
<div className="flex h-8 w-full items-center justify-center">
<Spinner />