fix: add the download property to the download links

This commit is contained in:
Dorian Niemiec 2024-12-19 15:56:39 +01:00
parent c508a55b85
commit 4819c119f1
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ const DownloadPage = async () => {
<TableCell className="text-left">{download.fileSize}</TableCell>
<TableCell className="flex items-center justify-end">
{download.downloadLink ? (
<Link href={download.downloadLink}>
<Link href={download.downloadLink} download={true}>
<Button variant={"ghost"} className="">
<Download className="w-4 h-4 mr-2" />
Download

View file

@ -83,7 +83,7 @@ const ModsPage = async () => {
<TableCell>{download.version}</TableCell>
<TableCell className="text-left">{download.fileSize}</TableCell>
<TableCell className="flex items-center justify-end">
<Link href={download.downloadLink}>
<Link href={download.downloadLink} download={true}>
<Button variant={"ghost"} className="">
<Download className="w-4 h-4 mr-2" />
Download