Update ReportFilter.jsx

Change "Show" button text to reflect Loading state during loading for better user experience
This commit is contained in:
microsoldering 2024-12-27 15:39:46 +11:00 committed by GitHub
parent c3f9846a74
commit aff58bcda9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -186,7 +186,7 @@ const ReportFilter = ({
disabled={disabled}
onClick={() => handleClick('json')}
>
<Typography variant="button" noWrap>{t('reportShow')}</Typography>
<Typography variant="button" noWrap>{loading ? t('sharedLoading') : t('reportShow')}</Typography>
</Button>
) : (
<SplitButton