diff options
author | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-06-11 11:51:26 +0530 |
---|---|---|
committer | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-06-11 11:51:26 +0530 |
commit | b897b8027613ca1fc65d87c70a55860cfd339583 (patch) | |
tree | 58377c71c5633bcdb2e9b158384b0c63f181f9e3 /modern/src/reports/ReportFilter.js | |
parent | 8e1bddcc608ba4e52699c30084f5ef950bd7e329 (diff) | |
download | etbsa-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/ReportFilter.js')
-rw-r--r-- | modern/src/reports/ReportFilter.js | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/modern/src/reports/ReportFilter.js b/modern/src/reports/ReportFilter.js index c7835e7..8055d30 100644 --- a/modern/src/reports/ReportFilter.js +++ b/modern/src/reports/ReportFilter.js @@ -121,26 +121,26 @@ const ReportFilter = ({ children, handleSubmit, showOnly }) => { {t('reportShow')} </Button> </Grid> - <Grid item xs={4} sm={2}> - {!showOnly && - <Button - onClick={() => handleClick(false, false)} - variant='outlined' - color='secondary' - fullWidth> - {t('reportExport')} - </Button>} - </Grid> - <Grid item xs={4} sm={2}> - {!showOnly && - <Button - onClick={() => handleClick(true, false)} - variant='outlined' - color='secondary' - fullWidth> - <Typography variant="button" noWrap>{t('reportEmail')}</Typography> - </Button>} - </Grid> + {!showOnly && + <Grid item xs={4} sm={2}> + <Button + onClick={() => handleClick(false, false)} + variant='outlined' + color='secondary' + fullWidth> + {t('reportExport')} + </Button> + </Grid>} + {!showOnly && + <Grid item xs={4} sm={2}> + <Button + onClick={() => handleClick(true, false)} + variant='outlined' + color='secondary' + fullWidth> + <Typography variant="button" noWrap>{t('reportEmail')}</Typography> + </Button> + </Grid>} </Grid> ); } |