ssb: Don't show connections in various states of disconnectedness in the sidebar.

This commit is contained in:
Cory McWilliams 2025-01-20 16:57:22 -05:00
parent fba465dd62
commit 15be498e4b
2 changed files with 13 additions and 11 deletions

View File

@ -1,5 +1,5 @@
{ {
"type": "tildefriends-app", "type": "tildefriends-app",
"emoji": "🦀", "emoji": "🦀",
"previous": "&J6o2XRWWAirhnQbEa6Pi0QvAex6jTH1o23npX7x82aY=.sha256" "previous": "&ZKixAk7qZ3OfnjvCoyT1MC7qYVpUz0ngaAozr11xihs=.sha256"
} }

View File

@ -216,7 +216,9 @@ class TfTabNewsElement extends LitElement {
)} )}
<h4 class="w3-bar-item w3-theme-d2">Connections</h4> <h4 class="w3-bar-item w3-theme-d2">Connections</h4>
${this.connections.map( ${this.connections
.filter((x) => x.id && !x.destroy_reason)
.map(
(x) => html` (x) => html`
<tf-user <tf-user
class="w3-bar-item" class="w3-bar-item"