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'