diff --git a/ui/litellm-dashboard/src/components/view_key_table.tsx b/ui/litellm-dashboard/src/components/view_key_table.tsx index 9e765e81d8..7d6242098d 100644 --- a/ui/litellm-dashboard/src/components/view_key_table.tsx +++ b/ui/litellm-dashboard/src/components/view_key_table.tsx @@ -88,7 +88,8 @@ interface ItemData { metadata: any; user_id: string | null; expires: any; - budget_reset_at?: string | null; + budget_duration: string | null; + budget_reset_at: string | null; // Add any other properties that exist in the item data } @@ -306,7 +307,7 @@ const ViewKeyTable: React.FC = ({ name="budget_duration" help={`Current Reset Budget: ${ token.budget_duration - }, budget will be reset at ${new Date(token.budget_reset_at).toLocaleString()}`} + }, budget will be reset: ${token.budget_reset_at ? new Date(token.budget_reset_at).toLocaleString() : 'Never'}`} >