mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-08-07 09:01:29 -04:00
Fixing the previous button of the player
This commit is contained in:
parent
81e2f2bbb1
commit
a006cc3f9f
@ -12,7 +12,7 @@ export interface WatchItem
|
||||
releaseDate;
|
||||
isMovie: boolean;
|
||||
|
||||
previousEpisode: string;
|
||||
previousEpisode: Episode;
|
||||
nextEpisode: Episode;
|
||||
|
||||
container: string;
|
||||
|
@ -373,7 +373,7 @@ export class PlayerComponent implements OnInit, OnDestroy, AfterViewInit
|
||||
{
|
||||
if (this.item.previousEpisode == null)
|
||||
return;
|
||||
this.router.navigate(["/watch", this.item.previousEpisode], {
|
||||
this.router.navigate(["/watch", this.item.previousEpisode.slug], {
|
||||
queryParamsHandling: "merge"
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user