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>
|
||||
{/* TODO: Use correct file name */}
|
||||
{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>
|
||||
)}
|
||||
</WrapItem>
|
||||
|
Loading…
Reference in New Issue
Block a user