diff --git a/ui/litellm-dashboard/src/components/common_components/AccessGroupSelector.tsx b/ui/litellm-dashboard/src/components/common_components/AccessGroupSelector.tsx index 4b73fb561d0..fb8629dc8fa 100644 --- a/ui/litellm-dashboard/src/components/common_components/AccessGroupSelector.tsx +++ b/ui/litellm-dashboard/src/components/common_components/AccessGroupSelector.tsx @@ -22,7 +22,6 @@ export interface AccessGroupSelectorProps { * - Displays the **access_group_name** in the dropdown. * - Returns an array of **access_group_id** values. * - Always multi-select since users can assign multiple access groups. - * - Integrates with Ant Design `` out of the box via `value` / `onChange`. */ const AccessGroupSelector: React.FC = ({ value, @@ -42,7 +41,7 @@ const AccessGroupSelector: React.FC = ({ return (
{showLabel && ( -

+

{labelText}

)} @@ -56,7 +55,7 @@ const AccessGroupSelector: React.FC = ({ label: ( {group.access_group_name}{" "} - ({group.access_group_id}) + ({group.access_group_id}) ), value: group.access_group_id, @@ -68,7 +67,7 @@ const AccessGroupSelector: React.FC = ({ return (
{showLabel && ( -

+

{labelText}

)} @@ -83,7 +82,7 @@ const AccessGroupSelector: React.FC = ({ style={{ width: "100%", ...style }} className={`rounded-md ${className ?? ""}`} notFoundContent={ - isError ? Failed to load access groups : "No access groups found" + isError ? Failed to load access groups : "No access groups found" } filterOption={(input, option) => { const searchText = options.find((opt) => opt.value === option?.value)?.searchText ?? "";