mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 17:35:28 +00:00
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