aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/ReportLayoutPage.js
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-06-11 11:51:26 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-06-11 11:51:26 +0530
commitb897b8027613ca1fc65d87c70a55860cfd339583 (patch)
tree58377c71c5633bcdb2e9b158384b0c63f181f9e3 /modern/src/reports/ReportLayoutPage.js
parent8e1bddcc608ba4e52699c30084f5ef950bd7e329 (diff)
downloadetbsa-traccar-web-b897b8027613ca1fc65d87c70a55860cfd339583.tar.gz
etbsa-traccar-web-b897b8027613ca1fc65d87c70a55860cfd339583.tar.bz2
etbsa-traccar-web-b897b8027613ca1fc65d87c70a55860cfd339583.zip
Fixing issues in report implementations
Diffstat (limited to 'modern/src/reports/ReportLayoutPage.js')
-rw-r--r--modern/src/reports/ReportLayoutPage.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/reports/ReportLayoutPage.js b/modern/src/reports/ReportLayoutPage.js
index 4280400..fafffc7 100644
--- a/modern/src/reports/ReportLayoutPage.js
+++ b/modern/src/reports/ReportLayoutPage.js
@@ -19,12 +19,12 @@ const useStyles = makeStyles(theme => ({
height: '100%',
},
drawerContainer: {
- width: theme.dimensions.desktopDrawerWidth,
+ width: theme.dimensions.drawerWidthDesktop,
},
drawer: {
- width: theme.dimensions.desktopDrawerWidth,
+ width: theme.dimensions.drawerWidthDesktop,
[theme.breakpoints.down("md")]: {
- width: theme.dimensions.tabletDrawerWidth,
+ width: theme.dimensions.drawerWidthTablet,
}
},
content: {
@@ -80,7 +80,7 @@ const ReportLayoutPage = ({ children, filter, }) => {
return (
<div className={classes.root}>
<Hidden only={['lg', 'xl']}>
- <ReportNavbar openDrawer={openDrawer} setOpenDrawer={setOpenDrawer} reportTitle={reportTitle} />
+ <ReportNavbar setOpenDrawer={setOpenDrawer} reportTitle={reportTitle} />
<Drawer
variant="temporary"
open={openDrawer}