From 0a855ad7282a47a53dd949f210be8f4c3a2f7f15 Mon Sep 17 00:00:00 2001 From: tanjiro <56165694+NANDINI-star@users.noreply.github.com> Date: Fri, 20 Jun 2025 01:29:37 +0900 Subject: [PATCH] rename schema to field_schema (#11887) --- .../src/components/TeamSSOSettings.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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} )}