Skip to content

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

account row update

x03220567d91284d949
diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx
index fae0315184..8452da8951 100644
--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx
+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx
@@ -7,6 +7,7 @@ import {
CheckIcon,
CopyIcon,
EllipsisVerticalIcon,
+ InfoIcon,
KeyRoundIcon,
LogInIcon,
PencilIcon,
@@ -424,14 +425,20 @@ export const PamResourceAccountsSection = ({ resource }: Props) => {
>
<UnstableTableCell>
<div className="flex items-center gap-3">
- <div className="flex flex-col">
- <span className="font-medium">{account.name}</span>
+ <Tooltip disableHoverableContent>
+ <TooltipTrigger>
+ <div className="flex items-center gap-1">
+ <span>{account.name}</span>
+ {account.description && (
+ <InfoIcon className="mt-px size-3 text-muted" />
+ )}
+ </div>
+ </TooltipTrigger>
{account.description && (
- <span className="line-clamp-1 text-xs text-muted">
- {account.description}
- </span>
+ <TooltipContent side="top">{account.description}</TooltipContent>
)}
- </div>
+ </Tooltip>
+
{!account.credentialsConfigured && (
<Badge variant="warning" className="text-xs">
<KeyRoundIcon className="size-3" />