nismod / irv-frontend

IRV frontend
MIT License
2 stars 0 forks source link

Prevent frontend error when a dataset is missing on the backend #25

Closed mz8i closed 1 year ago

mz8i commented 1 year ago

The configuration for hazard datasets will only be loaded when the corresponding sidebar section is expanded. This should help with local development when not all datasets are present in the development backend.

Hazard sections are also wrapped in an error boundary so that in case of errors, only the single section is affected.