From 640cc1bf494ad155875cef320ed34859c044d78d Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Tue, 23 Apr 2024 12:49:39 +0200 Subject: [PATCH] Fix chapters download "all" option --- .../chapter/ChaptersDownloadActionMenuItems.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/chapter/ChaptersDownloadActionMenuItems.tsx b/src/components/chapter/ChaptersDownloadActionMenuItems.tsx index 83c855d6..fb9342c0 100644 --- a/src/components/chapter/ChaptersDownloadActionMenuItems.tsx +++ b/src/components/chapter/ChaptersDownloadActionMenuItems.tsx @@ -18,7 +18,7 @@ const DownloadRange = { NEXT_5: 5, NEXT_10: 10, NEXT_25: 25, - UNREAD: undefined, + ALL: undefined, }; export const ChaptersDownloadActionMenuItems = ({ @@ -60,11 +60,11 @@ export const ChaptersDownloadActionMenuItems = ({ handleSelect(downloadAheadLimit, undefined, true)}> {t('chapter.action.download.add.label.ahead', { count: downloadAheadLimit })} - handleSelect(DownloadRange.UNREAD)}> + handleSelect(DownloadRange.ALL, true)}> {t('chapter.action.download.add.label.unread')} - handleSelect(downloadAheadLimit)}> - {t('chapter.action.download.add.label.all', { onlyUnread: false })} + handleSelect(DownloadRange.ALL, false)}> + {t('chapter.action.download.add.label.all')} );