Merge pull request #2097 from nasa/matching-historical-states

use correct duration for historical states
This commit is contained in:
Deep Tailor
2018-07-03 12:47:15 -07:00
committed by GitHub

View File

@ -72,7 +72,7 @@ define([
var data = []; var data = [];
while (start <= end && data.length < 5000) { while (start <= end && data.length < 5000) {
data.push(pointForTimestamp(start, duration, domainObject.name)); data.push(pointForTimestamp(start, duration, domainObject.name));
start += 5000; start += duration;
} }
return Promise.resolve(data); return Promise.resolve(data);
}; };