Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
cosmetics
Thiago Araujo da Silva8bc179af6a2d
diff --git a/frontend/src/pages/organization/AuditLogsPage/components/AuditLogStreamTab/components/AuditLogStreamProductBadges.tsx b/frontend/src/pages/organization/AuditLogsPage/components/AuditLogStreamTab/components/AuditLogStreamProductBadges.tsxindex 274e880030..984063f599 100644--- a/frontend/src/pages/organization/AuditLogsPage/components/AuditLogStreamTab/components/AuditLogStreamProductBadges.tsx+++ b/frontend/src/pages/organization/AuditLogsPage/components/AuditLogStreamTab/components/AuditLogStreamProductBadges.tsx@@ -1,3 +1,5 @@+import { twMerge } from "tailwind-merge";+import {Badge,Popover,@@ -19,9 +21,6 @@ type Props = {const DEFAULT_MAX_VISIBLE = 2;-const getProductLabel = (product: AuditLogStreamProduct) =>- AUDIT_LOG_STREAM_PRODUCT_LABELS[product];-const ProductBadge = ({product,className@@ -29,8 +28,8 @@ const ProductBadge = ({product: AuditLogStreamProduct;className?: string;}) => (- <Badge variant="neutral" isTruncatable className={`max-w-[10rem] ${className ?? ""}`}>- {getProductLabel(product)}+ <Badge variant="neutral" isTruncatable className={twMerge("max-w-[10rem]", className)}>+ {AUDIT_LOG_STREAM_PRODUCT_LABELS[product]}</Badge>);@@ -45,7 +44,13 @@ export const AuditLogStreamProductBadges = ({// Sort by displayed label so order is stable regardless of how the list was stored.const sortedProducts = [...products].sort((a, b) =>- getProductLabel(a).localeCompare(getProductLabel(b), undefined, { sensitivity: "base" })+ AUDIT_LOG_STREAM_PRODUCT_LABELS[a].localeCompare(+ AUDIT_LOG_STREAM_PRODUCT_LABELS[b],+ undefined,+ {+ sensitivity: "base"+ }+ ));const visible = sortedProducts.slice(0, maxVisible);const overflow = sortedProducts.slice(maxVisible);