diff --git a/ui/litellm-dashboard/src/components/TeamSSOSettings.tsx b/ui/litellm-dashboard/src/components/TeamSSOSettings.tsx index 4ee4aae5650..93e1e98f5c1 100644 --- a/ui/litellm-dashboard/src/components/TeamSSOSettings.tsx +++ b/ui/litellm-dashboard/src/components/TeamSSOSettings.tsx @@ -223,13 +223,13 @@ const TeamSSOSettings: React.FC = ({ accessToken, userID, // Dynamically render settings based on the schema const renderSettings = () => { - const { values, schema } = settings; + const { values, field_schema } = settings; - if (!schema || !schema.properties) { + if (!field_schema || !field_schema.properties) { return No schema information available; } - return Object.entries(schema.properties).map(([key, property]: [string, any]) => { + return Object.entries(field_schema.properties).map(([key, property]: [string, any]) => { const value = values[key]; const displayName = key.replace(/_/g, ' ').replace(/\b\w/g, l => l.toUpperCase()); @@ -292,8 +292,8 @@ const TeamSSOSettings: React.FC = ({ accessToken, userID, These settings will be applied by default when creating new teams. - {settings?.schema?.description && ( - {settings.schema.description} + {settings?.field_schema?.description && ( + {settings.field_schema.description} )}