fix(frontend): show file size in the download button label

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-31 16:10:29 +02:00
co-authored by Claude Sonnet 5
parent a647bee507
commit 89749d8c20
+2 -1
View File
@@ -42,7 +42,8 @@ export function FileCard({ fileName, fileSize, jobId, initialError }) {
)} )}
{status === 'done' && ( {status === 'done' && (
<a className="download-button" href={downloadUrl(jobId)}> <a className="download-button" href={downloadUrl(jobId)}>
<DownloadSimple size={20} weight="regular" /> {t('job.download')} <DownloadSimple size={20} weight="regular" />
{t('job.download')} ({formatBytes(fileSize)})
</a> </a>
)} )}
{status === 'failed' && <span className="error">{errorMessage}</span>} {status === 'failed' && <span className="error">{errorMessage}</span>}