Fix latest live sessions order
This commit is contained in:
parent
b6e2b5df73
commit
087c7118f5
|
@ -54,6 +54,6 @@ export class LiveStreamInformationComponent {
|
||||||
.subscribe(live => this.live = live)
|
.subscribe(live => this.live = live)
|
||||||
|
|
||||||
this.liveVideoService.listSessions(video.id)
|
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