1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-06-13 13:39:23 -04:00

Basic Report UI complete!

This commit is contained in:
2017-06-17 10:28:50 -04:00
parent 5dff27e7f7
commit 9844785b8d
10 changed files with 331 additions and 75 deletions

View File

@ -4,8 +4,14 @@ var ReportActions = require('../actions/ReportActions');
var ReportsTab = require('../components/ReportsTab');
function mapStateToProps(state) {
var report_list = [];
for (var reportId in state.reports.map) {
if (state.reports.map.hasOwnProperty(reportId))
report_list.push(state.reports.map[reportId]);
}
return {
reports: state.reports
reports: state.reports,
report_list: report_list
}
}