Use selected episodes in submitRequest

pull/2294/head
Calvin 7 years ago committed by GitHub
parent 8524ee95f5
commit 5005e045c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,7 +52,7 @@ export class SeriesInformationComponent implements OnInit {
const seasonsViewModel = <ISeasonsViewModel>{seasonNumber: season.seasonNumber, episodes: []};
season.episodes.forEach(ep => {
if(!this.series.latestSeason || !this.series.requestAll || !this.series.firstSeason) {
if(ep.requested) {
if(ep.selected) {
seasonsViewModel.episodes.push({episodeNumber: ep.episodeNumber});
}
}

Loading…
Cancel
Save