mirror of https://github.com/Chocobozzz/PeerTube
Fix latest live sessions order
parent
92083e4228
commit
58e7850615
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue