fix: dl button from listing
This commit is contained in:
parent
c07c893767
commit
ea9f6c0899
@ -87,8 +87,8 @@ export function FileRow({ id, file }: FileRowProps) {
|
|||||||
<WrapItem>
|
<WrapItem>
|
||||||
{/* TODO: Use correct file name */}
|
{/* TODO: Use correct file name */}
|
||||||
{file.decrypted && (
|
{file.decrypted && (
|
||||||
<Link type="button" as={Button} isExternal href={file.decrypted} download={decryptedName}>
|
<Link isExternal href={file.decrypted} download={decryptedName}>
|
||||||
下载
|
<Button as="span">下载</Button>
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
</WrapItem>
|
</WrapItem>
|
||||||
|
Loading…
Reference in New Issue
Block a user