diff options
Diffstat (limited to 'modern/src/reports/ReportFilter.js')
-rw-r--r-- | modern/src/reports/ReportFilter.js | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/modern/src/reports/ReportFilter.js b/modern/src/reports/ReportFilter.js index 6f24804..be48413 100644 --- a/modern/src/reports/ReportFilter.js +++ b/modern/src/reports/ReportFilter.js @@ -81,8 +81,7 @@ const ReportFilter = (props) => { onChange={(e) => setFrom(moment(e.target.value, moment.HTML5_FMT.DATETIME_LOCAL)) } - fullWidth - /> + fullWidth /> )} {period === 'custom' && ( <TextField @@ -94,23 +93,15 @@ const ReportFilter = (props) => { onChange={(e) => setTo(moment(e.target.value, moment.HTML5_FMT.DATETIME_LOCAL)) } - fullWidth - /> + fullWidth /> )} <FormControl margin="normal" fullWidth> - <Button - type="button" - color="primary" - variant="contained" - disabled={!deviceId} - onClick={handleShow} - > + <Button type="button" color="primary" variant="contained" disabled={!deviceId} onClick={handleShow}> {t('reportShow')} </Button> </FormControl> </> ); - } -export default ReportFilter;
\ No newline at end of file +export default ReportFilter; |