Skip to content

Commit

Permalink
fix: display company name twice in speaker subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
djgovani committed Feb 10, 2025
1 parent bb47b25 commit 0c9ffb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/speaker-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ export class SpeakerPage extends ReduxMixin(PolymerElement) {
}

private computeCompanyInfo(title: string, company: string) {
if (title.includes(company)) {
return title;
}
return [title, company].filter(Boolean).join(', ');
}

Expand Down

0 comments on commit 0c9ffb2

Please sign in to comment.