From 087c7118f5c4c086949bd2db7b244f9a110a0278 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 Jun 2022 09:53:03 +0200 Subject: [PATCH] Fix latest live sessions order --- .../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)) } }