diff options
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> ); } |