Skip to content

Commit 316af31

Browse files
committed
update devices barlist
1 parent f9b191e commit 316af31

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

apps/web/src/components/tools/auth0/top-devices-chart.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function Auth0TopDevices(params: {
2828
height="250px"
2929
params={params}
3030
indexConfig={{
31-
label: 'DEVICE',
31+
label: <span className="font-bold normal-case">Device</span>,
3232
renderBarContent: ({ label }) => {
3333
const Icon = icons[label as keyof typeof icons] || Laptop
3434
return (
@@ -41,7 +41,10 @@ export function Auth0TopDevices(params: {
4141
}}
4242
categoryConfig={{
4343
request_count: {
44-
label: <span className="font-normal normal-case text-xs">Requests</span>
44+
label: <span className="font-normal normal-case text-xs">Requests</span>,
45+
renderValue: ({ value }) => {
46+
return <span className="font-bold text-black">{value}</span>
47+
}
4548
}
4649
}}
4750
/>

0 commit comments

Comments
 (0)