mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 19:28:09 +00:00
feat: resolved broken ui for templates
This commit is contained in:
-20
@@ -121,26 +121,6 @@ export const ProjectTemplatesTable = ({ onEdit }: Props) => {
|
|||||||
</Tooltip>
|
</Tooltip>
|
||||||
)}
|
)}
|
||||||
</Td>
|
</Td>
|
||||||
<Td className="pl-14">
|
|
||||||
{environments?.length || 0}
|
|
||||||
{environments?.length && (
|
|
||||||
<Tooltip
|
|
||||||
content={
|
|
||||||
<ul className="ml-2 list-disc">
|
|
||||||
{environments
|
|
||||||
?.sort((a, b) => (a.position > b.position ? 1 : -1))
|
|
||||||
.map((env) => <li key={env.slug}>{env.name}</li>)}
|
|
||||||
</ul>
|
|
||||||
}
|
|
||||||
>
|
|
||||||
<FontAwesomeIcon
|
|
||||||
size="sm"
|
|
||||||
className="ml-2 text-mineshaft-400"
|
|
||||||
icon={faCircleInfo}
|
|
||||||
/>
|
|
||||||
</Tooltip>
|
|
||||||
)}
|
|
||||||
</Td>
|
|
||||||
<Td className="w-5">
|
<Td className="w-5">
|
||||||
{name !== "default" && (
|
{name !== "default" && (
|
||||||
<OrgPermissionCan
|
<OrgPermissionCan
|
||||||
|
|||||||
Reference in New Issue
Block a user