diff --git a/ui/litellm-dashboard/eslint-suppressions.json b/ui/litellm-dashboard/eslint-suppressions.json
index e467ddc5ec4..bc23c2433d3 100644
--- a/ui/litellm-dashboard/eslint-suppressions.json
+++ b/ui/litellm-dashboard/eslint-suppressions.json
@@ -16,7 +16,7 @@
},
"src/app/(dashboard)/admin-panel/_components/AdminPanel.tsx": {
"no-restricted-imports": {
- "count": 2
+ "count": 1
},
"react-hooks/set-state-in-effect": {
"count": 1
@@ -1647,9 +1647,6 @@
}
},
"src/components/SCIM.tsx": {
- "no-restricted-imports": {
- "count": 2
- },
"react-hooks/set-state-in-effect": {
"count": 1
}
@@ -1661,7 +1658,7 @@
},
"src/components/SSOModals.tsx": {
"no-restricted-imports": {
- "count": 2
+ "count": 1
}
},
"src/components/Settings/AdminSettings/HashicorpVault/EditHashicorpVaultModal.tsx": {
@@ -1705,11 +1702,6 @@
"count": 1
}
},
- "src/components/Settings/AdminSettings/SSOSettings/Modals/BaseSSOSettingsForm.tsx": {
- "no-restricted-imports": {
- "count": 2
- }
- },
"src/components/Settings/AdminSettings/SSOSettings/Modals/EditSSOSettingsModal.test.tsx": {
"max-nested-callbacks": {
"count": 1
@@ -1760,7 +1752,7 @@
},
"src/components/Settings/RouterSettings/Fallbacks/FallbackSelectionForm.tsx": {
"no-restricted-imports": {
- "count": 2
+ "count": 1
},
"react-hooks/set-state-in-effect": {
"count": 1
@@ -2024,10 +2016,7 @@
"count": 1
},
"no-nested-ternary": {
- "count": 4
- },
- "no-restricted-imports": {
- "count": 2
+ "count": 1
}
},
"src/components/bulk_create_users_button.tsx": {
@@ -2091,7 +2080,7 @@
"count": 1
},
"no-restricted-imports": {
- "count": 2
+ "count": 1
},
"no-restricted-syntax": {
"count": 3
@@ -2461,7 +2450,7 @@
"count": 1
},
"no-restricted-imports": {
- "count": 2
+ "count": 1
}
},
"src/components/organisms/RegenerateKeyModal.tsx": {
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/admin-panel/_components/AdminPanel.tsx b/ui/litellm-dashboard/src/app/(dashboard)/admin-panel/_components/AdminPanel.tsx
index 3f3f7fb5db7..48eaa62e37b 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/admin-panel/_components/AdminPanel.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/admin-panel/_components/AdminPanel.tsx
@@ -3,18 +3,12 @@
* Use this to avoid sharing master key with others
*/
import useAuthorized from "@/app/(dashboard)/hooks/useAuthorized";
-import {
- Button,
- Callout,
- Card,
- Table,
- TableBody,
- TableCell,
- TableHead,
- TableHeaderCell,
- TableRow,
-} from "@tremor/react";
-import { Alert, Modal, Space, Tabs, Typography } from "antd";
+import { Alert, AlertDescription, AlertTitle } from "@/components/shared/Alert";
+import { Button } from "@/components/ui/button";
+import { Card } from "@/components/ui/card";
+import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table";
+import { Alert as AntdAlert, Modal, Space, Tabs, Typography } from "antd";
+import { Info } from "lucide-react";
import React, { useEffect, useState } from "react";
import NewBadge from "@/components/common_components/NewBadge";
import { useBaseUrl } from "@/components/constants";
@@ -37,7 +31,6 @@ import UIAccessControlForm from "@/components/UIAccessControlForm";
import { z } from "zod/v4";
import { FieldGroup } from "@/components/shared/form/field";
import { FormField } from "@/components/shared/form/FormField";
-import { Button as ShadcnButton } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { useZodForm } from "@/lib/forms/useZodForm";
@@ -59,7 +52,7 @@ const AddAllowedIPForm = ({ onSubmit }: { onSubmit: (values: AllowedIPFormValues
{({ ref, ...field }) => }
- Add IP Address
+
@@ -228,9 +221,9 @@ const AdminPanel: React.FC = ({ proxySettings }) => {
label: "Security Settings",
children: (
<>
-
+
✨ Security Settings
- = ({ proxySettings }) => {
]}
>
-
+
- IP Address
- Action
+ IP Address
+ Action
-
+
{allowedIPs.map((ip, index) => (
{ip}
{ip !== all_ip_address_allowed && (
-