Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid crash when opening map with unsupported Earth Engine layer (…
…#3286) To set the data-test attribute on the LayerCard div we use replace to remove whitespace from the title (introduced in #3021). In some edge cases title can be undefined, and we avoid this error if we set the fallback value to ''. The error occurs for two saved maps with old EE layers that should be removed from from Sierra Leone demo database: * Map: Nighttime lights (AHWtSmx21sx) * Malaria: Cases with elevation eastern area (gJ1BHisY9Wm) Co-authored-by: Jen Jones Arnesen <[email protected]>
- Loading branch information