Skip to content

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

remove created & justify delete buttons to right

Maidul Islam988bb4ffb6e3
diff --git a/frontend/src/views/Org/MembersPage/components/OrgRoleTabSection/OrgRoleTable.tsx b/frontend/src/views/Org/MembersPage/components/OrgRoleTabSection/OrgRoleTable.tsx
index 8604690361..6d0c962f76 100644
--- a/frontend/src/views/Org/MembersPage/components/OrgRoleTabSection/OrgRoleTable.tsx
+++ b/frontend/src/views/Org/MembersPage/components/OrgRoleTabSection/OrgRoleTable.tsx
@@ -84,7 +84,6 @@ export const OrgRoleTable = ({ isRolesLoading, roles = [], onSelectRole }: Props
<Tr>
<Th>Name</Th>
<Th>Slug</Th>
- <Th>Created At</Th>
<Th aria-label="actions" />
</Tr>
</THead>
@@ -98,11 +97,8 @@ export const OrgRoleTable = ({ isRolesLoading, roles = [], onSelectRole }: Props
<Tr key={`role-list-${id}`}>
<Td>{name}</Td>
<Td>{slug}</Td>
- <Td>
- {createdAt ? format(new Date(createdAt), "yyyy-MM-dd, hh:mm aaa") : "-"}
- </Td>
- <Td>
- <div className="flex space-x-2 items-center">
+ <Td className="flex justify-end">
+ <div className="flex space-x-2">
<OrgPermissionCan
I={OrgPermissionActions.Edit}
a={OrgPermissionSubjects.Role}
diff --git a/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx b/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
index f9f1b86950..51850017e2 100644
--- a/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
+++ b/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
@@ -93,7 +93,6 @@ export const ProjectRoleList = ({ isRolesLoading, roles = [], onSelectRole }: Pr
<Tr>
<Th>Name</Th>
<Th>Slug</Th>
- <Th>Created At</Th>
<Th aria-label="actions" />
</Tr>
</THead>
@@ -108,10 +107,7 @@ export const ProjectRoleList = ({ isRolesLoading, roles = [], onSelectRole }: Pr
<Td>{name}</Td>
<Td>{slug}</Td>
<Td>
- {createdAt ? format(new Date(createdAt), "yyyy-MM-dd, hh:mm aaa") : "-"}
- </Td>
- <Td>
- <div className="flex space-x-2 items-center">
+ <div className="flex space-x-2 justify-end">
<ProjectPermissionCan
I={ProjectPermissionActions.Edit}
a={ProjectPermissionSub.Role}