File tree 1 file changed +2
-2
lines changed
components/dashboard/src/components
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ function UsageView({ attributionId }: UsageViewProps) {
62
62
try {
63
63
const page = await getGitpodService ( ) . server . listUsage ( request ) ;
64
64
setUsagePage ( page ) ;
65
- setTotalCreditsUsed ( Math . ceil ( page . creditBalanceAtEnd ) ) ;
65
+ setTotalCreditsUsed ( page . creditBalanceAtEnd ) ;
66
66
} catch ( error ) {
67
67
if ( error . code === ErrorCodes . PERMISSION_DENIED ) {
68
68
setErrorMessage ( "Access to usage details is restricted to team owners." ) ;
@@ -300,7 +300,7 @@ function UsageView({ attributionId }: UsageViewProps) {
300
300
</ div >
301
301
< div className = "flex flex-col my-auto" >
302
302
< span className = "text-right text-gray-500 dark:text-gray-400 font-medium" >
303
- { usage . credits . toFixed ( 1 ) }
303
+ { usage . credits }
304
304
</ span >
305
305
< div className = "flex" >
306
306
< span className = "text-right truncate text-sm text-gray-400 dark:text-gray-500" >
You can’t perform that action at this time.
0 commit comments