Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix unrelated zots (#4885)

Patrick Mouldene896b360cac6
diff --git a/web/js/containers/sidebar/zot.js b/web/js/containers/sidebar/zot.js
index 1dd3691a9..cad4c2896 100644
--- a/web/js/containers/sidebar/zot.js
+++ b/web/js/containers/sidebar/zot.js
@@ -21,7 +21,7 @@ export default function Zot (props) {
} else if (underZoomValue > 0) {
className = 'zot underzoom';
tooltipString += `Layer is underzoomed by ${zot.underZoomValue.toString()}x its minimum zoom level; zoom in to see imagery <br/>`;
- } else if (!hasGranules) {
+ } else if (Object.hasOwn(zot, 'hasGranules') && !hasGranules) {
className = 'zot no-granules';
tooltipString += 'No visible imagery on this date and/or location. <br/> Try moving the map or select a different date in the layer\'s settings. <br/>';
}