mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -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:
parent
9b8b66f7d6
commit
eafa9457b3
@ -160,6 +160,9 @@ export class CardDetailsModalComponent implements OnInit {
|
|||||||
case(Action.MarkAsUnread):
|
case(Action.MarkAsUnread):
|
||||||
this.markChapterAsUnread(chapter);
|
this.markChapterAsUnread(chapter);
|
||||||
break;
|
break;
|
||||||
|
case(Action.AddToReadingList):
|
||||||
|
this.actionService.addChapterToReadingList(chapter, this.seriesId);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -253,6 +253,9 @@ export class SeriesDetailComponent implements OnInit, OnDestroy {
|
|||||||
case(Action.AddToReadingList):
|
case(Action.AddToReadingList):
|
||||||
this.actionService.addSeriesToReadingList(series, () => this.actionInProgress = false);
|
this.actionService.addSeriesToReadingList(series, () => this.actionInProgress = false);
|
||||||
break;
|
break;
|
||||||
|
case(Action.AddToCollection):
|
||||||
|
this.actionService.addMultipleSeriesToCollectionTag([series], () => this.actionInProgress = false);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user