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:
Go to 'Settings'
Click on 'Supply Setups'
Click 'Add'-Button to create new Setup
Click 'Cancel Button' (or type something beforehand and the click 'Cancel')
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):
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.
To Reproduce Steps to reproduce the behavior:
Expected behavior Maybe the cancel button could be disabled, if name field is still empty.
Desktop (please complete the following information):
Additional context