mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-26 02:30:37 -06:00
Reduce precision for retention time
This commit is contained in:
parent
85cc3b2af6
commit
8da3e2e9b8
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user