Fix changing manga tracker "status"
The "status" has to be a number. Seems like there was some bug in graphql-kotlin since it did not return an error previously and with updating to the latest version it now returns one
This commit is contained in:
@@ -268,9 +268,7 @@ export const TrackerActiveCard = ({
|
||||
type="ListPreference"
|
||||
entryValues={tracker.statuses.map((status) => `${status.value}`)}
|
||||
ListPreferenceCurrentValue={`${trackRecord.status}`}
|
||||
updateValue={(_, status) =>
|
||||
updateTrackerBind({ status: status as unknown as number })
|
||||
}
|
||||
updateValue={(_, status) => updateTrackerBind({ status: Number(status) })}
|
||||
summary="%s"
|
||||
/>
|
||||
<Divider orientation="vertical" flexItem />
|
||||
|
||||
Reference in New Issue
Block a user