Fix download attributes in results.tsx
This commit is contained in:
parent
5b25ed8a76
commit
5a0f024852
1 changed files with 3 additions and 3 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue