ssb: Show the load more button for mentions.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled

This commit is contained in:
Cory McWilliams 2024-12-07 10:38:34 -05:00
parent 7da3244da2
commit 2230351e3e
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🐌",
"previous": "&onuy7/nH00Er+ujPI0ghlCOpRdDkuwL9nY2/WocLxTg=.sha256"
"previous": "&xmK/qm3j46oW14K8BvE75Tt0tNgsBWJ9E8qK9a/3tUw=.sha256"
}

View File

@ -305,7 +305,8 @@ class TfTabNewsFeedElement extends LitElement {
this.load_messages();
}
let more;
if (!this.hash.startsWith('#@') && !this.hash.startsWith('#%')) {
if (this.hash == '#@' ||
(!this.hash.startsWith('#@') && !this.hash.startsWith('#%'))) {
more = html`
<p>
<button class="w3-button w3-theme-d1" @click=${this.mark_all_read}>