From 9da55d7c4ec963c209e9151eecb41389f12446cb Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Wed, 4 Feb 2026 20:54:59 -0800 Subject: [PATCH] small fixes --- .../src/components/admins.tsx | 100 +++++++++--------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/ui/litellm-dashboard/src/components/admins.tsx b/ui/litellm-dashboard/src/components/admins.tsx index 67b8551a34c..2915f065b53 100644 --- a/ui/litellm-dashboard/src/components/admins.tsx +++ b/ui/litellm-dashboard/src/components/admins.tsx @@ -183,7 +183,7 @@ const AdminPanel: React.FC = ({ proxySettings }) => { useEffect(() => { checkSSOConfiguration(); - }, [accessToken, premiumUser]); + }, [accessToken, premiumUser, checkSSOConfiguration]); const handleUIAccessControlOk = () => { setIsUIAccessControlModalVisible(false); @@ -246,56 +246,56 @@ const AdminPanel: React.FC = ({ proxySettings }) => { -
- - setIsAllowedIPModalVisible(false)} - footer={[ - , - , - ]} - > - - - - IP Address - Action +
+ + setIsAllowedIPModalVisible(false)} + footer={[ + , + , + ]} + > +
+ + + IP Address + Action + + + + {allowedIPs.map((ip, index) => ( + + {ip} + + {ip !== all_ip_address_allowed && ( + + )} + - - - {allowedIPs.map((ip, index) => ( - - {ip} - - {ip !== all_ip_address_allowed && ( - - )} - - - ))} - -
-
+ ))} + + +