Skip to content

Commit

Permalink
fix(includers/openapi): download link
Browse files Browse the repository at this point in the history
handler for clicks on links in the viewer, external links are ignored and with the attribute data-router=off, the link to the blob is not external, therefore this attribute is needed
  • Loading branch information
Evgenii Fedoseev authored and moki committed Mar 13, 2023
1 parent ad4ddae commit 2820e86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const Response: React.FC<{
file && fileUrl && <div>
<Text variant="subheader-2" as="div">{TextEnum.RESPONSE_FILE_LABEL}:</Text>
<Text variant="body-2" as="div">
<a href={fileUrl} download={file.name}>
<a href={fileUrl} download={file.name} data-router="off">
{file.name}
</a>
</Text>
Expand Down

0 comments on commit 2820e86

Please sign in to comment.