Fixed missing handlers for adding a chapter to a reading list from card details modal and adding series to collection from series detail. (#942)

This commit is contained in:
Joseph Milazzo 2022-01-15 08:14:44 -08:00 committed by GitHub
parent 9b8b66f7d6
commit eafa9457b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -160,6 +160,9 @@ export class CardDetailsModalComponent implements OnInit {
case(Action.MarkAsUnread):
this.markChapterAsUnread(chapter);
break;
case(Action.AddToReadingList):
this.actionService.addChapterToReadingList(chapter, this.seriesId);
break;
default:
break;
}

View File

@ -253,6 +253,9 @@ export class SeriesDetailComponent implements OnInit, OnDestroy {
case(Action.AddToReadingList):
this.actionService.addSeriesToReadingList(series, () => this.actionInProgress = false);
break;
case(Action.AddToCollection):
this.actionService.addMultipleSeriesToCollectionTag([series], () => this.actionInProgress = false);
break;
default:
break;
}