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 = [];
|
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user