More trying to clean up lingering requests.

This commit is contained in:
2024-05-02 19:59:54 -04:00
parent 929ae1b709
commit 5231ec22e7
3 changed files with 5 additions and 5 deletions

View File

@ -107,13 +107,13 @@ class TfTabConnectionsElement extends LitElement {
${connection.tunnel !== undefined
? '🚇'
: html`(${connection.host}:${connection.port})`}
<div>${connection.requests.map(x => html`
<span class="w3-tag w3-small">${x.request_number > 0 ? '🟩' : '🟥'} ${x.name}</span>
`)}</div>
<ul>
${this.connections
.filter((x) => x.tunnel === this.connections.indexOf(connection))
.map((x) => html`<li>${this.render_connection(x)}</li>`)}
${connection.requests.map(x => html`
<span class="w3-tag w3-small">${x.request_number > 0 ? '🟩' : '🟥'} ${x.name}</span>
`)}
${this.render_room_peers(connection.id)}
</ul>
`;