Skip to content

Commit

Permalink
Add a TODO comment to consider moving localizeWithUrl to some centr…
Browse files Browse the repository at this point in the history
…alized place.
  • Loading branch information
sbruens committed Oct 2, 2023
1 parent 5fd3ec7 commit aa6f61d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/www/views/contact_view/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export class ContactView extends LitElement {
this.dispatchEvent(new CustomEvent('success'));
}

// TODO: Consider moving this functionality to a more centralized place for re-use.
private localizeWithUrl(messageID: string, url: string): TemplateResult {
const beginUrl = `<a href="${url}" target="_blank">`;
const endUrl = '</a>';
Expand Down

0 comments on commit aa6f61d

Please sign in to comment.