ssb: Before destroying a connection, show a message on why it is going away in the UI.

This commit is contained in:
2024-12-24 17:23:22 -05:00
parent c85dd2655c
commit 855f5f7af4
5 changed files with 58 additions and 12 deletions

View File

@ -175,6 +175,9 @@ class TfTabConnectionsElement extends LitElement {
.map((x) => html`<li>${this.render_connection(x)}</li>`)}
${this.render_room_peers(connection.id)}
</ul>
<div ?hidden=${!connection.destroy_reason} class="w3-panel w3-red">
<p>${connection.destroy_reason}</p>
</div>
`;
}