diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-24 09:53:03 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-24 09:53:03 +0200 |
commit | 087c7118f5c4c086949bd2db7b244f9a110a0278 (patch) | |
tree | d78ae1d007dcbce23a9f47d22ce9068493f76ab5 /client | |
parent | b6e2b5df73d3b67e275000f612907859c39d90d1 (diff) | |
download | PeerTube-087c7118f5c4c086949bd2db7b244f9a110a0278.tar.gz PeerTube-087c7118f5c4c086949bd2db7b244f9a110a0278.tar.zst PeerTube-087c7118f5c4c086949bd2db7b244f9a110a0278.zip |
Fix latest live sessions order
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/shared/shared-video-live/live-stream-information.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
54 | .subscribe(live => this.live = live) | 54 | .subscribe(live => this.live = live) |
55 | 55 | ||
56 | this.liveVideoService.listSessions(video.id) | 56 | this.liveVideoService.listSessions(video.id) |
57 | .subscribe(({ data }) => this.latestLiveSessions = data.slice(0, 5)) | 57 | .subscribe(({ data }) => this.latestLiveSessions = data.reverse().slice(0, 5)) |
58 | } | 58 | } |
59 | } | 59 | } |