Skip to content

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

fix(insights): show the ghost reader count as a plain number

Dimitris Staratzis1d5fa3cee0c4
diff --git a/frontend/src/pages/secret-manager/InsightsPage/components/SecretExposureCard.tsx b/frontend/src/pages/secret-manager/InsightsPage/components/SecretExposureCard.tsx
index 67641394db..a4932521ac 100644
--- a/frontend/src/pages/secret-manager/InsightsPage/components/SecretExposureCard.tsx
+++ b/frontend/src/pages/secret-manager/InsightsPage/components/SecretExposureCard.tsx
@@ -276,7 +276,7 @@ export const SecretExposureCard = () => {
{row.ghostReaderCount > 0 ? (
<Tooltip>
<TooltipTrigger asChild>
- <Badge variant="warning">{row.ghostReaderCount}</Badge>
+ <span>{row.ghostReaderCount}</span>
</TooltipTrigger>
<TooltipContent>
{row.ghostReaderCount} read this secret {readPeriod} but can no longer