diff --git a/src/components/src/common/time-range-slider.tsx b/src/components/src/common/time-range-slider.tsx index 0ff73e3ae2..22f57b0891 100644 --- a/src/components/src/common/time-range-slider.tsx +++ b/src/components/src/common/time-range-slider.tsx @@ -74,6 +74,7 @@ TimeRangeSliderFactory.deps = [ ]; export function getTimeBinsForInterval(timeBins, interval) { + if (!timeBins) return {}; return Object.keys(timeBins).reduce((acc, dataId) => { acc[dataId] = timeBins[dataId][interval]; return acc;