From df045bd6f1687ff4ede0fef0391d7cbcdde408fd Mon Sep 17 00:00:00 2001 From: Yujong Lee Date: Fri, 2 Oct 2026 23:41:30 +0000 Subject: [PATCH] fix(ui): keep LogsPanel sort order literal type Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- ui/litellm-dashboard/src/components/chat/LogsPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/litellm-dashboard/src/components/chat/LogsPanel.tsx b/ui/litellm-dashboard/src/components/chat/LogsPanel.tsx index 234fb42513a..299404942a6 100644 --- a/ui/litellm-dashboard/src/components/chat/LogsPanel.tsx +++ b/ui/litellm-dashboard/src/components/chat/LogsPanel.tsx @@ -255,7 +255,7 @@ const LogsPanel: React.FC = ({ accessToken, userId }) => { end_date: moment().utc().format("YYYY-MM-DD HH:mm:ss"), page, page_size: PAGE_SIZE, - params: { user_id: userId, sort_by: "startTime", sort_order: "desc" }, + params: { user_id: userId, sort_by: "startTime", sort_order: "desc" as const }, }; return uiSpendLogsCall(logsCallOptions); },