forked from abner/for-legacy-web
fix: correct open/download link behaviour
This commit is contained in:
@@ -26,8 +26,8 @@ export default function AttachmentActions({ attachment }: Props) {
|
||||
const { filename, metadata, size } = attachment;
|
||||
|
||||
const url = client.generateFileURL(attachment);
|
||||
const open_url = `${url}/${filename}`;
|
||||
const download_url = url;
|
||||
const open_url = url;
|
||||
const download_url = `${url}/${filename}`;
|
||||
|
||||
const filesize = determineFileSize(size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user