diff --git a/ui/litellm-dashboard/src/components/all_keys_table.tsx b/ui/litellm-dashboard/src/components/all_keys_table.tsx index e520f84b36..6e3a491886 100644 --- a/ui/litellm-dashboard/src/components/all_keys_table.tsx +++ b/ui/litellm-dashboard/src/components/all_keys_table.tsx @@ -277,7 +277,7 @@ export function AllKeysTable({ ]; return ( -
+
{selectedKeyId ? ( ) : ( -
+
- col.id !== 'expander')} - data={keys} - isLoading={isLoading} - getRowCanExpand={() => false} - renderSubComponent={() => <>} - /> +
+ col.id !== 'expander')} + data={keys} + isLoading={isLoading} + getRowCanExpand={() => false} + renderSubComponent={() => <>} + /> +
- )}
diff --git a/ui/litellm-dashboard/src/components/create_key_button.tsx b/ui/litellm-dashboard/src/components/create_key_button.tsx index 38dc242ccc..2de11c14c8 100644 --- a/ui/litellm-dashboard/src/components/create_key_button.tsx +++ b/ui/litellm-dashboard/src/components/create_key_button.tsx @@ -289,7 +289,6 @@ const CreateKey: React.FC = ({ name="team_id" initialValue={team ? team.team_id : null} className="mt-8" - rules={[{ required: true, message: 'Please select a team' }]} > - - - - - - All Proxy Models - - {userModels.map((model) => ( - - {getModelDisplayName(model)} - - ))} - - - - - - - - - - - - - - - - - - - - - Guardrails{' '} - - e.stopPropagation()} - > - - - - - } - name="guardrails" - help="Select existing guardrails or enter new ones" - > -