ReportReducer: Fix bug creating list

This commit is contained in:
Aaron Lindsay 2017-06-23 06:10:35 -04:00
parent c19644e0c7
commit aeed78f0b7
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ module.exports = function(state = initialState, action) {
var list = []; var list = [];
for (var reportId in reports) { for (var reportId in reports) {
if (reports.hasOwnProperty(reportId)) if (reports.hasOwnProperty(reportId))
list.push(report); list.push(reports[reportId]);
} }
return assign({}, state, { return assign({}, state, {
map: reports, map: reports,