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 }) => {
</div>
<div>
Submitted research objects:
{manuscript.submission.links.map(link => (
{manuscript.submission?.links?.map(link => (
<p>
<a
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