Closed simon-leech closed 1 month ago
If layer.infoj_order is undefined, previously custom views calling mapp.ui.locations.infoj would crash with this error.
layer.infoj_order
mapp.ui.locations.infoj
This PR simply adds optional chaining operators to prevent this error.
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots No data about Coverage 0.0% Duplication on New Code
See analysis details on SonarCloud
If![image](https://github.com/GEOLYTIX/xyz/assets/56163132/89548fb2-160d-4b77-8760-a5cbdaa90b4c)
layer.infoj_order
is undefined, previously custom views callingmapp.ui.locations.infoj
would crash with this error.This PR simply adds optional chaining operators to prevent this error.