We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: If a ride is in the past, the only thing that should be editable is changing its status from CONFIRMED to CANCELLED
Proposed solution:
`const confirmstatus= !dateInFuture && this.state.originalRideState?.status === 'CONFIRMED'; `
<option value="OPEN" disabled={cannotReopen||confirmstatus}> Open </option> <option value="CONFIRMED" disabled={!this.state.driver || cannotReopen||confirmstatus} > Confirmed </option> <option value="ENDED" disabled={!this.state.driver || cannotReopen|| confirmstatus} > Ended </option> <option value="CANCELLED">Cancelled</option> </select>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem:
If a ride is in the past, the only thing that should be editable is changing its status from CONFIRMED to CANCELLED
Proposed solution:
The text was updated successfully, but these errors were encountered: