Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

(ui) fix color on audit logs table

Ishaan Jaffd8687b5d43f1
diff --git a/ui/litellm-dashboard/src/components/view_logs/columns.tsx b/ui/litellm-dashboard/src/components/view_logs/columns.tsx
index 95a38853fad..cca45dd805a 100644
--- a/ui/litellm-dashboard/src/components/view_logs/columns.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/columns.tsx
@@ -400,16 +400,9 @@ export type AuditLogEntry = {
const getActionBadge = (action: string) => {
- const actionColors = {
- created: "blue",
- updated: "slate",
- deleted: "red",
- rotated: "amber",
- } as const;
-
return (
<Badge
- color={actionColors[action as keyof typeof actionColors] || "gray"}
+ color="gray"
className="flex items-center gap-1"
>
<span className="whitespace-nowrap text-xs">{action}</span>