mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
(ui) fix, use chevron icon for expand
This commit is contained in:
parent
5d049eb742
commit
4199060b18
1 changed files with 17 additions and 2 deletions
|
|
@ -431,10 +431,25 @@ export const auditLogColumns: ColumnDef<AuditLogEntry>[] = [
|
|||
aria-label={localExpanded ? "Collapse row" : "Expand row"}
|
||||
className="w-6 h-6 flex items-center justify-center focus:outline-none"
|
||||
>
|
||||
{localExpanded ? <EyeOff className="w-4 h-4" /> : <Eye className="w-4 h-4" />}
|
||||
<svg
|
||||
className={`w-4 h-4 transform transition-transform ${
|
||||
localExpanded ? 'rotate-90' : ''
|
||||
}`}
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
strokeWidth={2}
|
||||
d="M9 5l7 7-7 7"
|
||||
/>
|
||||
</svg>
|
||||
</button>
|
||||
) : (
|
||||
<span className="w-6 h-6 flex items-center justify-center text-gray-300">●</span>
|
||||
<span className="w-6 h-6 flex items-center justify-center">●</span>
|
||||
);
|
||||
};
|
||||
return <ExpanderCell />;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue