Skip to content

Commit

Permalink
fix(tv): Display TV show as requested if all episodes are requested (#…
Browse files Browse the repository at this point in the history
…4518)

[skip ci]
  • Loading branch information
sephrat authored Feb 25, 2022
1 parent 76882ad commit 2ed8c48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class TvDetailsComponent implements OnInit {
}

public allEpisodesRequested(): boolean {
return this.tv.seasonRequests.every(e => e.episodes.every(x => x.approved));
return this.tv.seasonRequests.every(e => e.episodes.every(x => x.approved || x.requested));
}

private loadAdvancedInfo() {
Expand Down

0 comments on commit 2ed8c48

Please sign in to comment.