This commit is contained in:
Cory McWilliams 2024-05-11 09:50:06 -04:00
commit c1a80e50e7
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🐌",
"previous": "&vEaOZjrNb0u9rhNqrQ8eU9TlOFlo4HsgW6hbI7VdIT0=.sha256"
"previous": "&sqnidhPsKb45FDw4m0/ZeDQgX3qxqw9MReaVP11Xk2M=.sha256"
}

View File

@ -10,6 +10,7 @@ class TfTabConnectionsElement extends LitElement {
connections: {type: Array},
stored_connections: {type: Array},
users: {type: Object},
server_identity: {type: String},
};
}
@ -29,6 +30,9 @@ class TfTabConnectionsElement extends LitElement {
tfrpc.rpc.getStoredConnections().then(function (connections) {
self.stored_connections = connections || [];
});
tfrpc.rpc.getServerIdentity().then(function (identity) {
self.server_identity = identity;
});
}
render_connection_summary(connection) {
@ -179,6 +183,7 @@ class TfTabConnectionsElement extends LitElement {
(x) =>
html`<li class="w3-bar">
<tf-user id=${x} .users=${this.users}></tf-user>
${x == this.server_identity ? html`- 🖥local server` : undefined}
</li>`
)}
</ul>

2
deps/libbacktrace vendored

@ -1 +1 @@
Subproject commit 11427f31a64b11583fec94b4c2a265c7dafb1ab3
Subproject commit 7ead8c1ea2f4aeafe9c5b9ef8a9461a9ba781aa8