Interactive interface for browsing global, full-resolution satellite imagery
check data state at time of granule removal
Edward Platoef364420b77a
diff --git a/web/js/map/data/ui.js b/web/js/map/data/ui.jsindex bbe3c1b82..fa754d8ac 100644--- a/web/js/map/data/ui.js+++ b/web/js/map/data/ui.js@@ -769,6 +769,8 @@ var dataUiDownloadListPanel = function(config, store) {var removeGranule = function() {var id = $(this).attr('data-granule');+ let state = store.getState();+ let dataStore = state.data;store.dispatch(toggleGranule(dataStore.selectedGranules[id]));onHoverOut.apply(this);};