Fix download attributes in results.tsx

This commit is contained in:
Kosztyk 2026-01-12 00:40:23 +02:00 committed by GitHub
parent 5b25ed8a76
commit 5a0f024852
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,7 +61,7 @@ function ResultsArticle({
!isDone ? disabledLinkClass : "" !isDone ? disabledLinkClass : ""
}`} }`}
href={`${WEBROOT}/archive/${job.id}`} href={`${WEBROOT}/archive/${job.id}`}
download={`converted_files_${job.id}.tar`} download
{...(!isDone ? busyAttrs : {})} {...(!isDone ? busyAttrs : {})}
> >
<DownloadIcon /> <p>Tar</p> <DownloadIcon /> <p>Tar</p>
@ -125,7 +125,7 @@ function ResultsArticle({
<a <a
class="text-accent-500 hover:text-accent-400" class="text-accent-500 hover:text-accent-400"
href={`${WEBROOT}/download/${outputPath}${file.output_file_name}`} href={`${WEBROOT}/download/${outputPath}${file.output_file_name}`}
download={file.output_file_name} download
> >
<DownloadIcon /> <DownloadIcon />
</a> </a>
@ -206,7 +206,7 @@ function ResultsArticle({
<textarea <textarea
id="cxShareDescription" id="cxShareDescription"
class="w-full rounded border border-neutral-700 bg-neutral-950 px-3 py-2 text-neutral-100 outline-none focus:border-accent-500" class="w-full rounded border border-neutral-700 bg-neutral-950 px-3 py-2 text-neutral-100 outline-none focus:border-accent-500"
rows={3} rows="3"
placeholder="Message to share recipients (optional)" placeholder="Message to share recipients (optional)"
></textarea> ></textarea>
</div> </div>