Fix typo in toast notification (#1630)
This commit is contained in:
parent
ccca2402e0
commit
9690e412e1
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue