Skip to content
Snippets Groups Projects
Commit b6900ab0 authored by Jose Manuel Serrano Amaut's avatar Jose Manuel Serrano Amaut
Browse files

[FEAT]: Improve anchor to open new tab when url is not same origin aviding to...

[FEAT]: Improve anchor to open new tab when url is not same origin aviding to show the content in the same page
parent b96006d6
Branches
Tags
No related merge requests found
...@@ -310,7 +310,7 @@ const FileMosaic: React.FC<FileMosaicProps> = (props: FileMosaicProps) => { ...@@ -310,7 +310,7 @@ const FileMosaic: React.FC<FileMosaicProps> = (props: FileMosaicProps) => {
uploadMessage={uploadMessage} uploadMessage={uploadMessage}
/> />
{downloadUrl && ( {downloadUrl && (
<a ref={downloadRef} href={downloadUrl} download={localName} hidden> <a ref={downloadRef} target={"_blank"} href={downloadUrl} download={localName} hidden>
download_file download_file
</a> </a>
)} )}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment