When I'm creating new map based on uploaded file with locations (from examples folder), Workloads dropdown doesn't load correctly.
Description
When user creates new map and uses sample files from examples folder, Workloads dropdown on "Map entities to locations" page cannot be loaded correctly. It seems that response has no entries with Workloads that could be selected, but loading spinner is still visible. For manually created locations everything works fine.
Steps to Reproduce
Open GeoOps app -> start creating a new map -> provide a name -> click next -> upload one of the sample data files from examples folder -> click next.
Expected Behaviour
It should display fetched workloads or at least show some nice information message to the user about what happened.
Relevant Logs / Console output
Uncaught (in promise) TypeError: Cannot read property 'label' of undefined
When I'm creating new map based on uploaded file with locations (from examples folder), Workloads dropdown doesn't load correctly.
Description
When user creates new map and uses sample files from examples folder, Workloads dropdown on "Map entities to locations" page cannot be loaded correctly. It seems that response has no entries with Workloads that could be selected, but loading spinner is still visible. For manually created locations everything works fine.
Steps to Reproduce
Open GeoOps app -> start creating a new map -> provide a name -> click next -> upload one of the sample data files from examples folder -> click next.
Expected Behaviour
It should display fetched workloads or at least show some nice information message to the user about what happened.
Relevant Logs / Console output
Uncaught (in promise) TypeError: Cannot read property 'label' of undefined
Your Environment