mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-07 07:15:18 -04:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user