Skip to content

Commit

Permalink
Update:Format numbers on user stats page #3187
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Jul 22, 2024
1 parent 215b78c commit d347645
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/pages/config/stats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/>
</svg>
<div class="px-3">
<p class="text-4xl md:text-5xl font-bold">{{ userItemsFinished.length }}</p>
<p class="text-4xl md:text-5xl font-bold">{{ $formatNumber(userItemsFinished.length) }}</p>
<p class="text-xs md:text-sm text-white text-opacity-80">{{ $strings.LabelStatsItemsFinished }}</p>
</div>
</div>
Expand All @@ -23,7 +23,7 @@
<span class="hidden sm:block material-symbols-outlined text-5xl lg:text-6xl">event</span>
</div>
<div class="px-1">
<p class="text-4xl md:text-5xl font-bold">{{ totalDaysListened }}</p>
<p class="text-4xl md:text-5xl font-bold">{{ $formatNumber(totalDaysListened) }}</p>
<p class="text-xs md:text-sm text-white text-opacity-80">{{ $strings.LabelStatsDaysListened }}</p>
</div>
</div>
Expand All @@ -33,7 +33,7 @@
<span class="material-symbols-outlined text-5xl lg:text-6xl">watch_later</span>
</div>
<div class="px-1">
<p class="text-4xl md:text-5xl font-bold">{{ totalMinutesListening }}</p>
<p class="text-4xl md:text-5xl font-bold">{{ $formatNumber(totalMinutesListening) }}</p>
<p class="text-xs md:text-sm text-white text-opacity-80">{{ $strings.LabelStatsMinutesListening }}</p>
</div>
</div>
Expand Down Expand Up @@ -138,4 +138,4 @@ export default {
this.init()
}
}
</script>
</script>

0 comments on commit d347645

Please sign in to comment.