diff --git a/apps/ssb/tf-styles.js b/apps/ssb/tf-styles.js
index 83986cd8..b2e14b70 100644
--- a/apps/ssb/tf-styles.js
+++ b/apps/ssb/tf-styles.js
@@ -48,7 +48,7 @@ div.img_caption::after {
blockquote {
border-left: 4px solid #fff;
- margin-left: 8px;
+ margin-left: 0px;
padding-left: 8px;
}
`;
\ No newline at end of file
diff --git a/apps/ssb/tf-tab-connections.js b/apps/ssb/tf-tab-connections.js
index b51b4d7f..a610a101 100644
--- a/apps/ssb/tf-tab-connections.js
+++ b/apps/ssb/tf-tab-connections.js
@@ -42,8 +42,11 @@ class TfTabConnectionsElement extends LitElement {
let self = this;
let peers = this.broadcasts.filter(x => x.tunnel?.id == connection);
if (peers.length) {
- let connections = this.connections.map(x => x.id);
- return html`${peers.filter(x => connections.indexOf(x.pubkey) == -1).map(x => html`${self.render_room_peer(x)}`)}`;
+ return html`
+
+ ${peers.map(x => html`${self.render_room_peer(x)}`)}
+
+ `;
}
}
@@ -56,7 +59,7 @@ class TfTabConnectionsElement extends LitElement {
return html`
self._tunnel(connection.tunnel.id, connection.pubkey)} value="Connect">
- 📡
+
`;
}
@@ -76,18 +79,6 @@ class TfTabConnectionsElement extends LitElement {
this.stored_connections = (await tfrpc.rpc.getStoredConnections()) || [];
}
- render_connection(connection) {
- return html`
- tfrpc.rpc.closeConnection(connection.id)} value="Close">
-
- ${connection.tunnel !== undefined ? '🚇' : html`(${connection.host}:${connection.port})`}
-
- ${this.connections.filter(x => x.tunnel === this.connections.indexOf(connection)).map(x => html`- ${this.render_connection(x)}
`)}
- ${this.render_room_peers(connection.id)}
-
- `;
- }
-
render() {
let self = this;
return html`
@@ -102,8 +93,12 @@ class TfTabConnectionsElement extends LitElement {
Connections
Stored Connections (WIP)