precision-sustainable-ag / dst-econ

Cover Crops Econ DST
https://covercrop-econ.org/
0 stars 0 forks source link

Update replace functions with optional chaining to avoid app crashes #190

Closed boscosylvester-john closed 8 months ago

boscosylvester-john commented 8 months ago

This PR includes the fix for this issue: https://github.com/precision-sustainable-ag/dst-feedback/issues/55

.replace has been replaced with ?.replace (optional chaining). This was done to ensure that the error "Uncaught TypeError: Cannot read properties of null (reading 'replace')" does not crash the application again.

azure-pipelines[bot] commented 8 months ago

Your review app has been deployed and is available at 'http://,172.210.93.2:80'.

Learn More about how to test and provide feedback for the app.

azure-pipelines[bot] commented 8 months ago

Your review app has been deployed and is available at 'http://172.210.93.2:80'.

Learn More about how to test and provide feedback for the app.