aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-07-28 11:41:17 +0200
committerChocobozzz <me@florianbigard.com>2023-07-28 11:41:17 +0200
commit2bfc8ce3d01a37284e3cd241816071f189cf5d8d (patch)
treee6c4af8e98a7009d6332cd7ca83f1cbaeaaefd2a /client/src/app
parentf932957b2e33da0b6d9a29dd98281b28f220a77a (diff)
downloadPeerTube-2bfc8ce3d01a37284e3cd241816071f189cf5d8d.tar.gz
PeerTube-2bfc8ce3d01a37284e3cd241816071f189cf5d8d.tar.zst
PeerTube-2bfc8ce3d01a37284e3cd241816071f189cf5d8d.zip
Remove unnecessary cast
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+videos/video-list/overview/overview.service.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/client/src/app/+videos/video-list/overview/overview.service.ts b/client/src/app/+videos/video-list/overview/overview.service.ts
index 4a7d9c7c5..67a1adb28 100644
--- a/client/src/app/+videos/video-list/overview/overview.service.ts
+++ b/client/src/app/+videos/video-list/overview/overview.service.ts
@@ -51,8 +51,6 @@ export class OverviewService {
51 switchMap(videos => this.videosService.extractVideos({ total: 0, data: videos })), 51 switchMap(videos => this.videosService.extractVideos({ total: 0, data: videos })),
52 map(result => result.data), 52 map(result => result.data),
53 tap(videos => { 53 tap(videos => {
54 // FIXME: typings & lint
55 // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
56 videosOverviewResult[key].push(immutableAssign(object, { videos }) as any) 54 videosOverviewResult[key].push(immutableAssign(object, { videos }) as any)
57 }) 55 })
58 ) 56 )