Skip to content

Commit f65265b

Browse files
authored
Merge pull request #73 from ESA-APEx/fix_empty_links
fix: added support for contacts without links
2 parents e8df967 + 627c30f commit f65265b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/apps/[id].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ const costEstimate = algorithm.properties.cost_estimate && algorithm.properties.
274274
</p>
275275
)}
276276
<div class="flex gap-2">
277-
{contact.links.map((link) => (
277+
{(contact.links || []).map((link) => (
278278
<a
279279
href={link.href}
280280
target="__blank"

0 commit comments

Comments
 (0)