mirror of https://github.com/Chocobozzz/PeerTube
Reduce precision for retention time
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