mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 16:27:40 +00:00
remove created & justify delete buttons to right
This commit is contained in:
committed by
Akhil Mohan
parent
0f46f53a7d
commit
988bb4ffb6
@@ -84,7 +84,6 @@ export const OrgRoleTable = ({ isRolesLoading, roles = [], onSelectRole }: Props
|
|||||||
<Tr>
|
<Tr>
|
||||||
<Th>Name</Th>
|
<Th>Name</Th>
|
||||||
<Th>Slug</Th>
|
<Th>Slug</Th>
|
||||||
<Th>Created At</Th>
|
|
||||||
<Th aria-label="actions" />
|
<Th aria-label="actions" />
|
||||||
</Tr>
|
</Tr>
|
||||||
</THead>
|
</THead>
|
||||||
@@ -98,11 +97,8 @@ export const OrgRoleTable = ({ isRolesLoading, roles = [], onSelectRole }: Props
|
|||||||
<Tr key={`role-list-${id}`}>
|
<Tr key={`role-list-${id}`}>
|
||||||
<Td>{name}</Td>
|
<Td>{name}</Td>
|
||||||
<Td>{slug}</Td>
|
<Td>{slug}</Td>
|
||||||
<Td>
|
<Td className="flex justify-end">
|
||||||
{createdAt ? format(new Date(createdAt), "yyyy-MM-dd, hh:mm aaa") : "-"}
|
<div className="flex space-x-2">
|
||||||
</Td>
|
|
||||||
<Td>
|
|
||||||
<div className="flex space-x-2 items-center">
|
|
||||||
<OrgPermissionCan
|
<OrgPermissionCan
|
||||||
I={OrgPermissionActions.Edit}
|
I={OrgPermissionActions.Edit}
|
||||||
a={OrgPermissionSubjects.Role}
|
a={OrgPermissionSubjects.Role}
|
||||||
|
|||||||
+1
-5
@@ -93,7 +93,6 @@ export const ProjectRoleList = ({ isRolesLoading, roles = [], onSelectRole }: Pr
|
|||||||
<Tr>
|
<Tr>
|
||||||
<Th>Name</Th>
|
<Th>Name</Th>
|
||||||
<Th>Slug</Th>
|
<Th>Slug</Th>
|
||||||
<Th>Created At</Th>
|
|
||||||
<Th aria-label="actions" />
|
<Th aria-label="actions" />
|
||||||
</Tr>
|
</Tr>
|
||||||
</THead>
|
</THead>
|
||||||
@@ -108,10 +107,7 @@ export const ProjectRoleList = ({ isRolesLoading, roles = [], onSelectRole }: Pr
|
|||||||
<Td>{name}</Td>
|
<Td>{name}</Td>
|
||||||
<Td>{slug}</Td>
|
<Td>{slug}</Td>
|
||||||
<Td>
|
<Td>
|
||||||
{createdAt ? format(new Date(createdAt), "yyyy-MM-dd, hh:mm aaa") : "-"}
|
<div className="flex space-x-2 justify-end">
|
||||||
</Td>
|
|
||||||
<Td>
|
|
||||||
<div className="flex space-x-2 items-center">
|
|
||||||
<ProjectPermissionCan
|
<ProjectPermissionCan
|
||||||
I={ProjectPermissionActions.Edit}
|
I={ProjectPermissionActions.Edit}
|
||||||
a={ProjectPermissionSub.Role}
|
a={ProjectPermissionSub.Role}
|
||||||
|
|||||||
Reference in New Issue
Block a user