Skip to content

Commit

Permalink
feature/hitide-ui-65: fixed thumbnails and footprints disappearing
Browse files Browse the repository at this point in the history
  • Loading branch information
jbyrne committed Jul 9, 2024
1 parent 3bd63e7 commit 408dc44
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/jpl/dijit/GranulesController.js
Original file line number Diff line number Diff line change
Expand Up @@ -757,15 +757,7 @@ define([
stateStoreItemsToRemove.push((currentStateStore[j]))
}
}
for(var k=0; k<stateStoreItemsToRemove.length; k++) {
_context.stateStore.remove(stateStoreItemsToRemove[k]["Granule-Id"])
topic.publish(GranuleSelectionEvent.prototype.REMOVE_GRANULE_FOOTPRINT, {
granuleObj: stateStoreItemsToRemove[k]
});
topic.publish(GranuleSelectionEvent.prototype.REMOVE_GRANULE_PREVIEW, {
granuleObj: stateStoreItemsToRemove[k]
});
}

// clear anything from state store that is not a concept id in the response items
response.items.map(function(x) {
GranuleMetadata.convertFootprintAndImageFromCMR(x);
Expand Down

0 comments on commit 408dc44

Please sign in to comment.