Skip to content

Commit

Permalink
Use event name when link not available
Browse files Browse the repository at this point in the history
  • Loading branch information
marius-mather committed Jun 5, 2024
1 parent e6bca4e commit 52d3347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function event_to_html(event: EventEntry): string {
if (event.link.startsWith("http")) {
link = `<a href="${event.link}">${event.event_name}</a>`;
} else {
link = event.link.trim();
link = event.event_name.trim();
}
return `<b>${event.date_text}</b>: ${link}`;
}
Expand Down

0 comments on commit 52d3347

Please sign in to comment.