mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
ui - show key alias on Top Keys instead of key_name
This commit is contained in:
parent
57d1efec1b
commit
20dc9e74af
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ const UsagePage: React.FC<UsagePageProps> = ({
|
||||||
setKeySpendData(overall_spend);
|
setKeySpendData(overall_spend);
|
||||||
const top_keys = await adminTopKeysCall(accessToken);
|
const top_keys = await adminTopKeysCall(accessToken);
|
||||||
const filtered_keys = top_keys.map((k: any) => ({
|
const filtered_keys = top_keys.map((k: any) => ({
|
||||||
key: (k["key_name"] || k["key_alias"] || k["api_key"]).substring(
|
key: (k["key_alias"] || k["key_name"] || k["api_key"]).substring(
|
||||||
0,
|
0,
|
||||||
10
|
10
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue