diff --git a/ui/litellm-dashboard/src/components/view_key_table.tsx b/ui/litellm-dashboard/src/components/view_key_table.tsx index f500def6a..a330c0c74 100644 --- a/ui/litellm-dashboard/src/components/view_key_table.tsx +++ b/ui/litellm-dashboard/src/components/view_key_table.tsx @@ -204,6 +204,11 @@ const ViewKeyTable: React.FC = ({ const handleEditClick = (token: any) => { console.log("handleEditClick:", token); + + // set token.token to token.token_id if token_id is not null + if (token.token_id !== null) { + token.token = token.token_id; + } setSelectedToken(token); setEditModalVisible(true); };