Skip to content
Snippets Groups Projects
Commit d2d1495a authored by Jure's avatar Jure
Browse files

fix: don't display links if there aren't any

parent 396ee878
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ const Frontpage = ({ history, ...props }) => { ...@@ -57,7 +57,7 @@ const Frontpage = ({ history, ...props }) => {
</div> </div>
<div> <div>
Submitted research objects: Submitted research objects:
{manuscript.submission.links.map(link => ( {manuscript.submission?.links?.map(link => (
<p> <p>
<a <a
href={link.url} href={link.url}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment