Merge pull request #2426 from scott-ray-wilson/secret-env-access-warning

Fix: Restricted Secret Environment UI Corrections
This commit is contained in:
Maidul Islam
2024-09-15 19:08:23 -04:00
committed by GitHub
5 changed files with 74 additions and 33 deletions
@@ -56,7 +56,7 @@ import { IdentityModal } from "./components/IdentityModal";
import { IdentityRoleForm } from "./components/IdentityRoleForm";
const MAX_ROLES_TO_BE_SHOWN_IN_TABLE = 2;
const INIT_PER_PAGE = 10;
const INIT_PER_PAGE = 20;
const formatRoleName = (role: string, customRoleName?: string) => {
if (role === ProjectMembershipRole.Custom) return customRoleName;
if (role === ProjectMembershipRole.Member) return "Developer";