mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-17 10:26:07 +00:00
(feat) view spend per key
This commit is contained in:
@@ -183,7 +183,7 @@ const ViewKeySpendReport: React.FC<ViewKeySpendReportProps> = ({
|
||||
<BarChart
|
||||
className="mt-6"
|
||||
data={data}
|
||||
colors={["green"]}
|
||||
colors={["blue"]}
|
||||
index="day"
|
||||
categories={["spend"]}
|
||||
yAxisWidth={48}
|
||||
@@ -193,7 +193,7 @@ const ViewKeySpendReport: React.FC<ViewKeySpendReportProps> = ({
|
||||
<Title className="mt-6">Top 5 Users Spend (USD)</Title>
|
||||
<Card className="mb-6">
|
||||
{userData && (
|
||||
<BarList className="mt-6" data={userData} color="teal" />
|
||||
<BarList className="mt-6" data={userData} color="blue" />
|
||||
)}
|
||||
</Card>
|
||||
</Modal>
|
||||
|
||||
Reference in New Issue
Block a user