From 58e7850615e2cf8de64a16929c6f04310f99f330 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 Jun 2022 09:53:03 +0200 Subject: Fix latest live sessions order --- .../app/shared/shared-video-live/live-stream-information.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/shared/shared-video-live/live-stream-information.component.ts b/client/src/app/shared/shared-video-live/live-stream-information.component.ts index 1cf6f8528..c60f7fe2f 100644 --- a/client/src/app/shared/shared-video-live/live-stream-information.component.ts +++ b/client/src/app/shared/shared-video-live/live-stream-information.component.ts @@ -54,6 +54,6 @@ export class LiveStreamInformationComponent { .subscribe(live => this.live = live) this.liveVideoService.listSessions(video.id) - .subscribe(({ data }) => this.latestLiveSessions = data.slice(0, 5)) + .subscribe(({ data }) => this.latestLiveSessions = data.reverse().slice(0, 5)) } } -- cgit v1.2.3