From b04c4da12eaeae6a1f6573505e5817f9a87fbb81 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 9 Jul 2024 15:57:53 -0700 Subject: [PATCH] fix allowed ip screen --- .../src/components/admins.tsx | 48 +++++++++++-------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/ui/litellm-dashboard/src/components/admins.tsx b/ui/litellm-dashboard/src/components/admins.tsx index 85b5dc3d4e..585111fd49 100644 --- a/ui/litellm-dashboard/src/components/admins.tsx +++ b/ui/litellm-dashboard/src/components/admins.tsx @@ -723,25 +723,25 @@ const AdminPanel: React.FC = ({ ]} > - - - IP Address - Action - - - - {allowedIPs.map((ip, index) => ( - - {ip} - - - - - ))} - -
+ + + IP Address + Action + + + + {allowedIPs.map((ip, index) => ( + + {ip} + + + + + ))} + + = ({ setIsDeleteIPModalVisible(false)} + onOk={confirmDeleteIP} + footer={[ + , + + ]} >

Are you sure you want to delete the IP address: {ipToDelete}?