This commit is contained in:
Raven Scott 2024-12-02 06:17:23 -05:00
parent 73bec336e3
commit 35010022bc

3
app.js
View File

@ -415,7 +415,6 @@ function addConnection(topicHex) {
<span> <span>
<span class="connection-status ${connections[topicId].peer ? 'status-connected' : 'status-disconnected'}"></span>${topicId} <span class="connection-status ${connections[topicId].peer ? 'status-connected' : 'status-disconnected'}"></span>${topicId}
</span> </span>
<span class="topic-id d-block text-primary fw-bold" title="${topicId}">${topicId}</span>
</div> </div>
<!-- Action Buttons --> <!-- Action Buttons -->
<div class="col-4 d-flex justify-content-end"> <div class="col-4 d-flex justify-content-end">
@ -644,7 +643,7 @@ function resetConnectionsView() {
connectionItem.dataset.topicId = topicId; connectionItem.dataset.topicId = topicId;
connectionItem.innerHTML = ` connectionItem.innerHTML = `
<span> <span>
<span class="connection-status ${connections[topicId].peer ? 'status-connected' : 'status-disconnected'}"></span>${topicId} <span class="connection-status ${connections[topicId].peer ? 'status-connected' : 'status-disconnected'}"></span>
</span> </span>
<button class="btn btn-sm btn-danger disconnect-btn">Disconnect</button> <button class="btn btn-sm btn-danger disconnect-btn">Disconnect</button>
`; `;