Skip to content
New issue

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

Adding a start time window to an existing vehicle throws an error #35

Closed
jmccollum-woolpert opened this issue Dec 12, 2022 · 0 comments · Fixed by #38
Closed

Adding a start time window to an existing vehicle throws an error #35

jmccollum-woolpert opened this issue Dec 12, 2022 · 0 comments · Fixed by #38

Comments

@jmccollum-woolpert
Copy link
Contributor

jmccollum-woolpert commented Dec 12, 2022

Attempting to add a start time window to an existing vehicle that has no start time windows throws an error.

Steps to reproduce:

  • Create a vehicle without time windows and save
  • Edit the vehicle
  • Click "Add time window" in the Start Time Windows section and an error is thrown in the console and the component doesn't render. End time windows don't appear to be affected.
ERROR TypeError: Cannot read properties of undefined (reading 'startTime')

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant