ssb: Fix an issue where private messages weren't showing up after marked read.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 18m26s

This commit is contained in:
2025-10-26 12:46:06 -04:00
parent b3e7e4b196
commit 732089da2c
3 changed files with 5 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ class TfTabNewsElement extends LitElement {
connections: {type: Array},
private_messages: {type: Array},
grouped_private_messages: {type: Object},
visible_private_messages: {type: Object},
recent_reactions: {type: Array},
peer_exchange: {type: Boolean},
is_administrator: {type: Boolean},
@@ -242,7 +243,7 @@ class TfTabNewsElement extends LitElement {
style=${this.hash == '#👍' ? 'font-weight: bold' : undefined}
>${this.unread_status('👍')}👍votes</a
>
${Object.keys(this?.grouped_private_messages ?? [])
${Object.keys(this?.visible_private_messages ?? [])
?.sort()
?.map(
(key) => html`