There was an error while loading. Please reload this page.
1 parent f1d03cf commit 68c883fCopy full SHA for 68c883f
1 file changed
app/next-client-app/app/(protected)/scanreports/[id]/downloads/columns.tsx
@@ -83,7 +83,10 @@ export const columns: ColumnDef<FileDownload>[] = [
83
};
84
return (
85
<Button variant={"outline"} onClick={handleDownload}>
86
- Download <Download />
+ Download{" "}
87
+ <a href={`/api/download/${scan_report}/${id}`} target="_blank">
88
+ <Download />
89
+ </a>
90
</Button>
91
);
92
},
0 commit comments