From aeed78f0b7eb9fe3f0f4ccff29099935ec29002d Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Fri, 23 Jun 2017 06:10:35 -0400 Subject: [PATCH] ReportReducer: Fix bug creating list --- js/reducers/ReportReducer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/reducers/ReportReducer.js b/js/reducers/ReportReducer.js index 4886ce0..2a104ef 100644 --- a/js/reducers/ReportReducer.js +++ b/js/reducers/ReportReducer.js @@ -85,7 +85,7 @@ module.exports = function(state = initialState, action) { var list = []; for (var reportId in reports) { if (reports.hasOwnProperty(reportId)) - list.push(report); + list.push(reports[reportId]); } return assign({}, state, { map: reports,