mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix video playlists list
This commit is contained in:
parent
d1f21ebba6
commit
f3628e694b
@ -81,10 +81,10 @@ export class MyAccountVideoPlaylistsComponent implements OnInit {
|
||||
}
|
||||
|
||||
private loadVideoPlaylists () {
|
||||
const playlistsObservable = this.videoPlaylistService.listAccountPlaylists(this.user.account, this.pagination, '-updatedAt')
|
||||
|
||||
this.authService.userInformationLoaded
|
||||
.pipe(flatMap(() => playlistsObservable))
|
||||
.pipe(flatMap(() => {
|
||||
return this.videoPlaylistService.listAccountPlaylists(this.user.account, this.pagination, '-updatedAt')
|
||||
}))
|
||||
.subscribe(res => {
|
||||
this.videoPlaylists = this.videoPlaylists.concat(res.data)
|
||||
this.pagination.totalItems = res.total
|
||||
|
Loading…
Reference in New Issue
Block a user