Fixed bug where subscription videos could not be downloaded from the player

This commit is contained in:
Isaac Abadi
2020-08-11 14:45:37 -04:00
parent 61c03b6681
commit 96c52f2d5b
8 changed files with 6 additions and 6 deletions

View File

@@ -137,7 +137,7 @@ export class RecentVideosComponent implements OnInit {
} else {
this.router.navigate(['/player', {fileNames: file.id,
type: file.isAudio ? 'audio' : 'video', subscriptionName: sub.name,
subPlaylist: sub.isPlaylist, uuid: this.postsService.user ? this.postsService.user.uid : null}]);
subPlaylist: sub.isPlaylist}]);
}
} else {
this.router.navigate(['/player', {type: file.isAudio ? 'audio' : 'video', uid: file.uid}]);