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
This commit is contained in:
schroda
2024-04-09 23:37:52 +02:00
committed by GitHub
parent 53de29f263
commit 00f5e8d76f

View File

@@ -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 })}
/>