Skip to content

Commit

Permalink
hotfix: null asn (FE)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminEHowe committed Jul 17, 2024
1 parent 92ba5e4 commit 8796ec0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion secure/form-submissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ title: Form Submissions

const tdAsn = tr.insertCell();
const asn = row.asn;
tdAsn.innerHTML = `<a href="https://bgp.tools/as/${asn}">AS${asn}</a>`;
if (asn !== null) {
tdAsn.innerHTML = `<a href="https://bgp.tools/as/${asn}">AS${asn}</a>`;
}
});
content.innerHTML = table.outerHTML;
history.pushState("", document.title, window.location.pathname + window.location.search);
Expand Down

0 comments on commit 8796ec0

Please sign in to comment.