Skip to content

Commit

Permalink
feat: add empty circle if no imageUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
Kout95 committed Jun 18, 2024
1 parent ad304c6 commit 4e89c98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/search-term-line.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export class SearchaliciousTermLine extends LitElement {
return html`
<div class="term-line">
<div class="term-line-img-wrapper">
<!-- if no imageUrl show empty circle -->
${this.term?.imageUrl
? html`<img src=${this.term?.imageUrl} />`
: html`<div></div>`}
Expand Down

0 comments on commit 4e89c98

Please sign in to comment.