Prettier and generated files I've missed.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 16m45s

This commit is contained in:
2024-09-30 12:15:27 -04:00
parent bb9c18faf1
commit 8cc4c19d73
3 changed files with 13 additions and 9 deletions

View File

@ -73,16 +73,17 @@ class TfMessageElement extends LitElement {
}
}
if (this.message?.votes?.length) {
return html`
<div class="w3-container">
<div class="w3-button w3-bar w3-padding-small" @click=${this.show_reactions}>
return html` <div class="w3-container">
<div
class="w3-button w3-bar w3-padding-small"
@click=${this.show_reactions}
>
${(this.message.votes || []).map(
(vote) => html`
<span
class="w3-bar-item w3-padding-small"
title="${this.users[vote.author]?.name ?? vote.author} ${new Date(
vote.timestamp
)}"
title="${this.users[vote.author]?.name ??
vote.author} ${new Date(vote.timestamp)}"
>
${normalize_expression(vote.content.vote.expression)}
</span>