From 8aa354ac245c7862ebac238b974e9d245ebc6cdb Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Tue, 21 Sep 2021 20:03:26 -0600 Subject: [PATCH] Fixed issue where navigating to a sub's video would play all videos from the subscription --- src/app/components/recent-videos/recent-videos.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/recent-videos/recent-videos.component.ts b/src/app/components/recent-videos/recent-videos.component.ts index 251c41db..26454249 100644 --- a/src/app/components/recent-videos/recent-videos.component.ts +++ b/src/app/components/recent-videos/recent-videos.component.ts @@ -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 {