Interactive interface for browsing global, full-resolution satellite imagery
modify entry conditional to remove some short circuit type conditions
Ed Plato1cb5522313dd
diff --git a/web/js/modules/layers/util.js b/web/js/modules/layers/util.jsindex ac9d45bdb..df67d4990 100644--- a/web/js/modules/layers/util.js+++ b/web/js/modules/layers/util.js@@ -729,8 +729,6 @@ export function datesinDateRanges(def, date, startDateLimit, endDateLimit, appNodateArray.pop();dateArray.push(minDate);dateArray.push(lastDateInDateArray);- } else {- dateArray.push(minDate);}} else {dateArray.push(minDate);@@ -739,11 +737,6 @@ export function datesinDateRanges(def, date, startDateLimit, endDateLimit, appNoreturn;}}- // handle single date coverage by adding date to date array- if (startDate === endDate) {- dateArray.push(minDate);- return;- }}// DATA PANEL SPECIFIC