aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/components
diff options
context:
space:
mode:
authorMatjaž Črnko <m.crnko@txt.si>2024-03-08 11:10:49 +0100
committerMatjaž Črnko <m.crnko@txt.si>2024-03-08 11:10:49 +0100
commit3229441f4b254eb13266486ff5b29e3dd952357b (patch)
tree4af16db91131f2c1e1b715b054bb58df12960943 /modern/src/reports/components
parentfe7b4800224352c628fb925c85a937684af58e6f (diff)
downloadtrackermap-web-3229441f4b254eb13266486ff5b29e3dd952357b.tar.gz
trackermap-web-3229441f4b254eb13266486ff5b29e3dd952357b.tar.bz2
trackermap-web-3229441f4b254eb13266486ff5b29e3dd952357b.zip
fix: Linting.
Diffstat (limited to 'modern/src/reports/components')
-rw-r--r--modern/src/reports/components/ReportFilter.jsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/reports/components/ReportFilter.jsx b/modern/src/reports/components/ReportFilter.jsx
index 5b4c5786..e6e08f16 100644
--- a/modern/src/reports/components/ReportFilter.jsx
+++ b/modern/src/reports/components/ReportFilter.jsx
@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import {
- FormControl, InputLabel, Select, MenuItem, Button, TextField, Typography, Autocomplete
+ FormControl, InputLabel, Select, MenuItem, Button, TextField, Typography,
} from '@mui/material';
import { useDispatch, useSelector } from 'react-redux';
import dayjs from 'dayjs';
@@ -92,7 +92,7 @@ const ReportFilter = ({ children, handleSubmit, handleSchedule, showOnly, ignore
<div className={classes.filter}>
{!ignoreDevice && (
<div className={classes.filterItem}>
- <SelectField
+ <SelectField
label={t(multiDevice ? 'deviceTitle' : 'reportDevice')}
data={Object.values(devices).sort((a, b) => a.name.localeCompare(b.name))}
value={multiDevice ? deviceIds : deviceId}
@@ -104,13 +104,13 @@ const ReportFilter = ({ children, handleSubmit, handleSchedule, showOnly, ignore
)}
{includeGroups && (
<div className={classes.filterItem}>
- <SelectField
+ <SelectField
label={t('settingsGroups')}
data={Object.values(groups).sort((a, b) => a.name.localeCompare(b.name))}
value={groupIds}
onChange={(e) => dispatch(reportsActions.updateGroupIds(e.target.value))}
multiple
- fullWidth
+ fullWidth
/>
</div>
)}