From 5ca370e3955b477d7bd1ba586e5ef38e501fd7fd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Dec 2023 14:04:20 +0100 Subject: [PATCH] Fix lint --- client/src/app/+stats/video/video-stats.component.ts | 1 - client/src/app/+videos/+video-edit/video-update.component.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts index 600203bc3..921718247 100644 --- a/client/src/app/+stats/video/video-stats.component.ts +++ b/client/src/app/+stats/video/video-stats.component.ts @@ -572,7 +572,6 @@ export class VideoStatsComponent implements OnInit { if (graphId === 'aggregateWatchTime') return secondsToTime(+value) if (graphId === 'countries' && scale) return scale.getLabelForValue(value as number) - return value.toLocaleString(this.localeId) } diff --git a/client/src/app/+videos/+video-edit/video-update.component.ts b/client/src/app/+videos/+video-edit/video-update.component.ts index b13dd0d6f..e2bed35e8 100644 --- a/client/src/app/+videos/+video-edit/video-update.component.ts +++ b/client/src/app/+videos/+video-edit/video-update.component.ts @@ -21,7 +21,7 @@ import { } from '@app/shared/shared-main' import { LiveVideoService } from '@app/shared/shared-video-live' import { LoadingBarService } from '@ngx-loading-bar/core' -import { pick, simpleObjectsDeepEqual } from '@peertube/peertube-core-utils' +import { simpleObjectsDeepEqual } from '@peertube/peertube-core-utils' import { HttpStatusCode, LiveVideo, LiveVideoUpdate, VideoPrivacy, VideoSource, VideoState } from '@peertube/peertube-models' import { hydrateFormFromVideo } from './shared/video-edit-utils' import { VideoUploadService } from './shared/video-upload.service'