diff options
Diffstat (limited to 'client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.ts')
-rw-r--r-- | client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.ts b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.ts index 03f34412c..d5122aeba 100644 --- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.ts +++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.ts | |||
@@ -131,9 +131,9 @@ export class MyAccountVideoPlaylistElementsComponent implements OnInit, OnDestro | |||
131 | 131 | ||
132 | private loadElements () { | 132 | private loadElements () { |
133 | this.videoService.getPlaylistVideos(this.videoPlaylistId, this.pagination) | 133 | this.videoService.getPlaylistVideos(this.videoPlaylistId, this.pagination) |
134 | .subscribe(({ totalVideos, videos }) => { | 134 | .subscribe(({ total, data }) => { |
135 | this.videos = this.videos.concat(videos) | 135 | this.videos = this.videos.concat(data) |
136 | this.pagination.totalItems = totalVideos | 136 | this.pagination.totalItems = total |
137 | }) | 137 | }) |
138 | } | 138 | } |
139 | 139 | ||