diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-24 09:53:03 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-24 09:57:55 +0200 |
commit | 58e7850615e2cf8de64a16929c6f04310f99f330 (patch) | |
tree | 0bc41364c0c9a80a54e4021379e86b2a0625d658 /client/src/app/shared/shared-video-live | |
parent | 92083e42289e19033425672dfbe2234aef03c6df (diff) | |
download | PeerTube-58e7850615e2cf8de64a16929c6f04310f99f330.tar.gz PeerTube-58e7850615e2cf8de64a16929c6f04310f99f330.tar.zst PeerTube-58e7850615e2cf8de64a16929c6f04310f99f330.zip |
Fix latest live sessions order
Diffstat (limited to 'client/src/app/shared/shared-video-live')
-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 | } |