aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/components
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-02 07:50:08 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-02 07:50:08 -0700
commit0d9573c2145a6e2df3d43ef4e192529654bc65de (patch)
tree55394bbf7fdad784331cc7781454e791ccf8172b /modern/src/reports/components
parentf57d9020d5031744e3e0e19ac8178cc8f7010f03 (diff)
downloadtrackermap-web-0d9573c2145a6e2df3d43ef4e192529654bc65de.tar.gz
trackermap-web-0d9573c2145a6e2df3d43ef4e192529654bc65de.tar.bz2
trackermap-web-0d9573c2145a6e2df3d43ef4e192529654bc65de.zip
Multi device route (fix #998)
Diffstat (limited to 'modern/src/reports/components')
-rw-r--r--modern/src/reports/components/ReportFilter.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reports/components/ReportFilter.js b/modern/src/reports/components/ReportFilter.js
index 816fde8d..d223b086 100644
--- a/modern/src/reports/components/ReportFilter.js
+++ b/modern/src/reports/components/ReportFilter.js
@@ -7,7 +7,7 @@ import moment from 'moment';
import { useTranslation } from '../../common/components/LocalizationProvider';
import useReportStyles from '../common/useReportStyles';
-const ReportFilter = ({ children, handleSubmit, showOnly, ignoreDevice, multiDevice }) => {
+const ReportFilter = ({ children, handleSubmit, showOnly, ignoreDevice, multiDevice, includeGroups }) => {
const classes = useReportStyles();
const t = useTranslation();
@@ -87,7 +87,7 @@ const ReportFilter = ({ children, handleSubmit, showOnly, ignoreDevice, multiDev
</FormControl>
</div>
)}
- {multiDevice && (
+ {includeGroups && (
<div className={classes.filterItem}>
<FormControl fullWidth>
<InputLabel>{t('settingsGroups')}</InputLabel>