From 00f5e8d76f3bd88238b01e5c3843febc5a0e3ebe Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:37:52 +0200 Subject: [PATCH] Remove track record total chapter as max value for number input (#723) In case the tracker does not have a total chapter number, it was impossible to manually change the last read chapter --- src/components/tracker/TrackerActiveCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tracker/TrackerActiveCard.tsx b/src/components/tracker/TrackerActiveCard.tsx index 183602cb..1d28ce44 100644 --- a/src/components/tracker/TrackerActiveCard.tsx +++ b/src/components/tracker/TrackerActiveCard.tsx @@ -262,7 +262,7 @@ export const TrackerActiveCard = ({ settingValue={`${trackRecord.lastChapterRead}/${trackRecord.totalChapters}`} value={trackRecord.lastChapterRead} minValue={0} - maxValue={trackRecord.totalChapters} + maxValue={Infinity} valueUnit="" handleUpdate={(lastChapterRead) => updateTrackerBind({ lastChapterRead })} />