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

Error when canceling the creation of a custom supply setup #483

Open
jannydiamond opened this issue Feb 3, 2023 · 0 comments
Open

Error when canceling the creation of a custom supply setup #483

jannydiamond opened this issue Feb 3, 2023 · 0 comments
Labels
🐞 bug Something isn't working

Comments

@jannydiamond
Copy link
Collaborator

Describe the bug
When canceling the creation of a custom supply setup an error is thrown in the console and nothing happens, even when the input was filled with a name.

Uncaught TypeError: Cannot read properties of undefined (reading 'isNew')

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Settings'
  2. Click on 'Supply Setups'
  3. Click 'Add'-Button to create new Setup
  4. Click 'Cancel Button' (or type something beforehand and the click 'Cancel')
  5. See error in Console

Expected behavior
Maybe the cancel button could be disabled, if name field is still empty.

Desktop (please complete the following information):

  • OS: macOS 13.0.1.
  • Browser: Chrome
  • Version: 109

Additional context

@jannydiamond jannydiamond added the 🐞 bug Something isn't working label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant