fix: add the download property to the download links
This commit is contained in:
parent
c508a55b85
commit
4819c119f1
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ const DownloadPage = async () => {
|
||||||
<TableCell className="text-left">{download.fileSize}</TableCell>
|
<TableCell className="text-left">{download.fileSize}</TableCell>
|
||||||
<TableCell className="flex items-center justify-end">
|
<TableCell className="flex items-center justify-end">
|
||||||
{download.downloadLink ? (
|
{download.downloadLink ? (
|
||||||
<Link href={download.downloadLink}>
|
<Link href={download.downloadLink} download={true}>
|
||||||
<Button variant={"ghost"} className="">
|
<Button variant={"ghost"} className="">
|
||||||
<Download className="w-4 h-4 mr-2" />
|
<Download className="w-4 h-4 mr-2" />
|
||||||
Download
|
Download
|
||||||
|
|
|
@ -83,7 +83,7 @@ const ModsPage = async () => {
|
||||||
<TableCell>{download.version}</TableCell>
|
<TableCell>{download.version}</TableCell>
|
||||||
<TableCell className="text-left">{download.fileSize}</TableCell>
|
<TableCell className="text-left">{download.fileSize}</TableCell>
|
||||||
<TableCell className="flex items-center justify-end">
|
<TableCell className="flex items-center justify-end">
|
||||||
<Link href={download.downloadLink}>
|
<Link href={download.downloadLink} download={true}>
|
||||||
<Button variant={"ghost"} className="">
|
<Button variant={"ghost"} className="">
|
||||||
<Download className="w-4 h-4 mr-2" />
|
<Download className="w-4 h-4 mr-2" />
|
||||||
Download
|
Download
|
||||||
|
|
Loading…
Reference in a new issue