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:
@@ -262,7 +262,7 @@ export const TrackerActiveCard = ({
|
|||||||
settingValue={`${trackRecord.lastChapterRead}/${trackRecord.totalChapters}`}
|
settingValue={`${trackRecord.lastChapterRead}/${trackRecord.totalChapters}`}
|
||||||
value={trackRecord.lastChapterRead}
|
value={trackRecord.lastChapterRead}
|
||||||
minValue={0}
|
minValue={0}
|
||||||
maxValue={trackRecord.totalChapters}
|
maxValue={Infinity}
|
||||||
valueUnit=""
|
valueUnit=""
|
||||||
handleUpdate={(lastChapterRead) => updateTrackerBind({ lastChapterRead })}
|
handleUpdate={(lastChapterRead) => updateTrackerBind({ lastChapterRead })}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user