1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-10-30 07:40:05 -04:00

ReportReducer: Fix bug creating list

This commit is contained in:
Aaron Lindsay 2017-06-23 06:10:35 -04:00
parent c19644e0c7
commit aeed78f0b7

View File

@ -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,