aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-06-30 10:31:37 -0700
committerGitHub <noreply@github.com>2021-06-30 10:31:37 -0700
commit0c712a70f56995e7af329846835d6d1f0343a2f1 (patch)
tree34a038a787aa84ab4bd2a2a9388c53266c4c88b9 /modern/src/reports
parent249f0437362ffbd3e14aa04a482ce03eb7e351e4 (diff)
parenta6bd780f7570a813d87741b25effe886803f9d10 (diff)
downloadetbsa-traccar-web-0c712a70f56995e7af329846835d6d1f0343a2f1.tar.gz
etbsa-traccar-web-0c712a70f56995e7af329846835d6d1f0343a2f1.tar.bz2
etbsa-traccar-web-0c712a70f56995e7af329846835d6d1f0343a2f1.zip
Merge pull request #871 from dkyeremeh/inputs-fix
Inputs fix
Diffstat (limited to 'modern/src/reports')
-rw-r--r--modern/src/reports/ReportFilter.js14
1 files changed, 1 insertions, 13 deletions
diff --git a/modern/src/reports/ReportFilter.js b/modern/src/reports/ReportFilter.js
index 8055d30..b9817d5 100644
--- a/modern/src/reports/ReportFilter.js
+++ b/modern/src/reports/ReportFilter.js
@@ -4,19 +4,7 @@ import { useSelector } from 'react-redux';
import moment from 'moment';
import t from '../common/localization';
-const useStyles = makeStyles(theme => ({
- gridContainer: {
- margin: theme.spacing(0, -1),
- '& > .MuiGrid-item': {
- padding: theme.spacing(1.5, 1)
- }
- }
-}));
-
const ReportFilter = ({ children, handleSubmit, showOnly }) => {
-
- const classes = useStyles();
-
const devices = useSelector(state => Object.values(state.devices.items));
const [deviceId, setDeviceId] = useState();
const [period, setPeriod] = useState('today');
@@ -68,7 +56,7 @@ const ReportFilter = ({ children, handleSubmit, showOnly }) => {
}
return (
- <Grid container spacing={2} className={classes.gridContainer}>
+ <Grid container spacing={2}>
<Grid item xs={12} sm={period === 'custom' ? 3 : 6}>
<FormControl variant="filled" fullWidth>
<InputLabel>{t('reportDevice')}</InputLabel>