Reduce precision for retention time

This commit is contained in:
Chocobozzz 2024-03-19 15:58:55 +01:00
parent 85cc3b2af6
commit 8da3e2e9b8
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -463,7 +463,7 @@ export class VideoStatsComponent implements OnInit {
for (const d of rawData.data) {
labels.push(secondsToTime(d.second))
data.push(d.retentionPercent)
data.push(Math.round(d.retentionPercent))
}
return {