Interactive interface for browsing global, full-resolution satellite imagery
WV-3550 Additional Charting Error Handling 3 (#5817)
christof-wittreich26e7ed51fda1
diff --git a/web/js/components/sidebar/charting-mode-options.js b/web/js/components/sidebar/charting-mode-options.jsindex 16b09cfc8..12bd382a6 100644--- a/web/js/components/sidebar/charting-mode-options.js+++ b/web/js/components/sidebar/charting-mode-options.js@@ -300,7 +300,7 @@ function ChartingModeOptions(props) {const response = await fetch(simpleStatsURI, requestOptions);const data = await response.text();// This is the response when the imageStat server fails- if (data === null) {+ if (!data) {return {ok: false,error: NO_DATA_ERROR_MESSAGE,