1
0
Fork 0

Fix latest live sessions order

This commit is contained in:
Chocobozzz 2022-06-24 09:53:03 +02:00
parent b6e2b5df73
commit 087c7118f5
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -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))
}
}