Fixed issue where navigating to a sub's video would play all videos from the subscription

heroku-fixes-and-repo-cleanup
Isaac Abadi 3 years ago
parent 58a0dc4afe
commit 8aa354ac24

@ -202,7 +202,7 @@ export class RecentVideosComponent implements OnInit {
} else {
// normal subscriptions
!new_tab ? this.router.navigate(['/player', {uid: file.uid,
type: file.isAudio ? 'audio' : 'video', sub_id: sub.id}])
type: file.isAudio ? 'audio' : 'video'}])
: window.open(`/#/player;uid=${file.uid};type=${file.isAudio ? 'audio' : 'video'}`);
}
} else {

Loading…
Cancel
Save