Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix latest live sessions order

Chocobozzz087c7118f5c4
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 1cf6f85284..c60f7fe2f2 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))
}
}