From 8da3e2e9b8229215e3eeb030b491a80cf37f889d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 19 Mar 2024 15:58:55 +0100 Subject: [PATCH] Reduce precision for retention time --- client/src/app/+stats/video/video-stats.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts index f85ad0516..0267cfb35 100644 --- a/client/src/app/+stats/video/video-stats.component.ts +++ b/client/src/app/+stats/video/video-stats.component.ts @@ -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 {