Merge branch 'main' of https://dev.tildefriends.net/cory/tildefriends
This commit is contained in:
commit
c1a80e50e7
@ -1,5 +1,5 @@
|
||||
{
|
||||
"type": "tildefriends-app",
|
||||
"emoji": "🐌",
|
||||
"previous": "&vEaOZjrNb0u9rhNqrQ8eU9TlOFlo4HsgW6hbI7VdIT0=.sha256"
|
||||
"previous": "&sqnidhPsKb45FDw4m0/ZeDQgX3qxqw9MReaVP11Xk2M=.sha256"
|
||||
}
|
||||
|
@ -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
2
deps/libbacktrace
vendored
@ -1 +1 @@
|
||||
Subproject commit 11427f31a64b11583fec94b4c2a265c7dafb1ab3
|
||||
Subproject commit 7ead8c1ea2f4aeafe9c5b9ef8a9461a9ba781aa8
|
Loading…
Reference in New Issue
Block a user