Describe the bug
When importing an expedition JSON in which a supply setup is configured, that doesn't exist in the Randomizer, then the app throws an error in the MarketSelect Component. The name of the selected setup could not be found.
To Reproduce
Steps to reproduce the behavior:
Create an expedition JSON with a supply setup that does not exist yet
Go to 'expeditions'
Click on 'Start new expedition' and then on 'Import'
Choose file expedition JSON
Click 'Import' button
See error
Expected behavior
Maybe a new supply setup should be created or the MarketSelect should not only consider existing Supply Setups.
Desktop (please complete the following information):
OS: Windows 10
Browser Chrome
Version 84
Additional context
It works fine, when the suppy setup exists in the Randomizer.
Describe the bug When importing an expedition JSON in which a supply setup is configured, that doesn't exist in the Randomizer, then the app throws an error in the MarketSelect Component. The name of the selected setup could not be found.
To Reproduce Steps to reproduce the behavior:
Expected behavior Maybe a new supply setup should be created or the MarketSelect should not only consider existing Supply Setups.
Desktop (please complete the following information):
Additional context It works fine, when the suppy setup exists in the Randomizer.