mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Merge pull request #2294 from CalvinWalzel/fix/edit-existing-request
Use selected episodes in submitRequest
This commit is contained in:
commit
ffa7cedcbb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue