mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Fix typo in toast notification (#1630)
This commit is contained in:
parent
ccca2402e0
commit
9690e412e1
@ -264,7 +264,7 @@ export class ActionService implements OnDestroy {
|
|||||||
markChapterAsUnread(seriesId: number, chapter: Chapter, callback?: ChapterActionCallback) {
|
markChapterAsUnread(seriesId: number, chapter: Chapter, callback?: ChapterActionCallback) {
|
||||||
this.readerService.saveProgress(seriesId, chapter.volumeId, chapter.id, 0).pipe(take(1)).subscribe(results => {
|
this.readerService.saveProgress(seriesId, chapter.volumeId, chapter.id, 0).pipe(take(1)).subscribe(results => {
|
||||||
chapter.pagesRead = 0;
|
chapter.pagesRead = 0;
|
||||||
this.toastr.success('Marked as unread');
|
this.toastr.success('Marked as Unread');
|
||||||
if (callback) {
|
if (callback) {
|
||||||
callback(chapter);
|
callback(chapter);
|
||||||
}
|
}
|
||||||
@ -306,7 +306,7 @@ export class ActionService implements OnDestroy {
|
|||||||
volume.chapters?.forEach(c => c.pagesRead = 0);
|
volume.chapters?.forEach(c => c.pagesRead = 0);
|
||||||
});
|
});
|
||||||
chapters?.forEach(c => c.pagesRead = 0);
|
chapters?.forEach(c => c.pagesRead = 0);
|
||||||
this.toastr.success('Marked as Read');
|
this.toastr.success('Marked as Unread');
|
||||||
|
|
||||||
if (callback) {
|
if (callback) {
|
||||||
callback();
|
callback();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user