forked from phoenix/litellm-mirror
(feat) view spend per key
This commit is contained in:
parent
35f957747b
commit
a6394cd11e
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue