Docker support, backend SPA mode
This commit is contained in:
@@ -201,7 +201,7 @@ function AttachmentRow(props: AttachmentRow.Props) {
|
||||
const url = URL.createObjectURL(data);
|
||||
const a = document.createElement("a");
|
||||
a.href = url;
|
||||
a.download = data.name;
|
||||
a.download = props.attachment.filename; // TODO Use `data.name` after Content-Disposition parser is implemented
|
||||
a.click();
|
||||
URL.revokeObjectURL(url);
|
||||
}, [props.attachment.attachmentId, props.attachment.pieceId]);
|
||||
|
||||
Reference in New Issue
Block a user