pull/1676/head
Jamie 7 years ago
parent 1556b66bf7
commit 152c495b37

@ -37,6 +37,19 @@ export class SeriesInformationComponent implements OnInit, OnDestroy {
}
public submitRequests() {
// Make sure something has been selected
const selected = this.series.seasonRequests.some((season) => {
return season.episodes.some((ep) => {
return ep.selected;
});
});
if(!selected) {
this.notificationService.error("You need to select some episodes!");
return;
}
this.series.requested = true;
this.requestService.requestTv(this.series)

Loading…
Cancel
Save