metacatui
metacatui copied to clipboard
Properly handle errors in Map-Search.js
Describe the bug Errors in Map-Search.js is not handled gracefully and crashes the whole page.
To Reproduce Steps to reproduce the behavior:
- Go to Map-Search.js
- Throws an error, say, in connect()
- Visit ADC from local MetacatUI
- See error
Expected behavior As discussed here, map search shouldn't crash the whole page. Instead, grey out the checkbox and show an error message on hover.
Screenshots
Desktop (please complete the following information):
- OS: macOS
- Browser: Chrome
- Version: 122.0.6261.94