mirror of
https://github.com/aclindsa/moneygo.git
synced 2024-12-25 23:23:21 -05:00
ReportReducer: Fix bug creating list
This commit is contained in:
parent
c19644e0c7
commit
aeed78f0b7
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user