aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/ReportLayoutPage.js
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2020-11-24 14:26:26 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2020-11-24 14:26:26 +0530
commit34ec9a62ac0b65665f15f6e80729495e2558547f (patch)
treee4294411fad4b24ed82b564b8ae56f6c1759812d /modern/src/reports/ReportLayoutPage.js
parentdf01e1d751980843506946a194fa9f67489182b1 (diff)
downloadtrackermap-web-34ec9a62ac0b65665f15f6e80729495e2558547f.tar.gz
trackermap-web-34ec9a62ac0b65665f15f6e80729495e2558547f.tar.bz2
trackermap-web-34ec9a62ac0b65665f15f6e80729495e2558547f.zip
Refactoring and Improvements in chart report
Diffstat (limited to 'modern/src/reports/ReportLayoutPage.js')
-rw-r--r--modern/src/reports/ReportLayoutPage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reports/ReportLayoutPage.js b/modern/src/reports/ReportLayoutPage.js
index ddc7325b..e4219bfd 100644
--- a/modern/src/reports/ReportLayoutPage.js
+++ b/modern/src/reports/ReportLayoutPage.js
@@ -18,7 +18,7 @@ const useStyles = makeStyles(theme => ({
},
}));
-const ReportLayoutPage = ({ reportFilterForm:ReportFilterForm, setItems, children }) => {
+const ReportLayoutPage = ({ reportFilterForm:ReportFilterForm, setItems, setType, children }) => {
const classes = useStyles();
return (
<div className={classes.root}>
@@ -27,7 +27,7 @@ const ReportLayoutPage = ({ reportFilterForm:ReportFilterForm, setItems, childre
<Grid container spacing={2}>
<Grid item xs={12} md={3} lg={2}>
<Paper className={classes.form}>
- <ReportFilterForm setItems={ setItems } />
+ <ReportFilterForm setItems={ setItems } setType={ setType }/>
</Paper>
</Grid>
<Grid item xs={12} md={9} lg={10}>