From 7155e157da71103fb95cf783065e588dbdacc43c Mon Sep 17 00:00:00 2001
From: tanjiro <56165694+NANDINI-star@users.noreply.github.com>
Date: Mon, 2 Jun 2025 23:50:12 +0900
Subject: [PATCH] converted action buttons to sticky footer action buttons
(#11293)
---
.../src/components/key_edit_view.tsx | 20 ++++++++++--------
.../src/components/key_info_view.tsx | 4 ++--
.../organization/organization_view.tsx | 18 +++++++++-------
.../src/components/team/team_info.tsx | 21 ++++++++++---------
4 files changed, 34 insertions(+), 29 deletions(-)
diff --git a/ui/litellm-dashboard/src/components/key_edit_view.tsx b/ui/litellm-dashboard/src/components/key_edit_view.tsx
index 4ec3abdc99..959ce0362f 100644
--- a/ui/litellm-dashboard/src/components/key_edit_view.tsx
+++ b/ui/litellm-dashboard/src/components/key_edit_view.tsx
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from "react";
-import { Form, Input, Select } from "antd";
-import { Button, TextInput } from "@tremor/react";
+import { Form, Input, Select, Button as AntdButton } from "antd";
+import { Button as TremorButton, TextInput } from "@tremor/react";
import { KeyResponse } from "./key_team_helpers/key_list";
import { fetchTeamModels } from "../components/create_key_button";
import { modelAvailableCall } from "./networking";
@@ -203,13 +203,15 @@ export function KeyEditView({
-
-
-
+
+
+
+ Cancel
+
+
+ Save Changes
+
+
);
diff --git a/ui/litellm-dashboard/src/components/key_info_view.tsx b/ui/litellm-dashboard/src/components/key_info_view.tsx
index 0a5577badc..4154c61611 100644
--- a/ui/litellm-dashboard/src/components/key_info_view.tsx
+++ b/ui/litellm-dashboard/src/components/key_info_view.tsx
@@ -134,7 +134,7 @@ export default function KeyInfoView({ keyId, onClose, keyData, accessToken, user
};
return (
-
+