From 746dba4394585e564c1de7bd9b768b4e7fad4935 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Sat, 30 Nov 2024 03:57:22 -0500 Subject: [PATCH] remove stupid console log and fix removal of server from cookie --- app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 74c89b3..b0d6c77 100644 --- a/app.js +++ b/app.js @@ -490,6 +490,9 @@ function disconnectConnection(topicId, connectionItem) { // Remove from global connections delete connections[topicId]; + // Save the updated connections to cookies + saveConnections(); + // Remove the connection item from the UI if (connectionItem) { connectionList.removeChild(connectionItem); @@ -854,7 +857,6 @@ function updateContainerStats(stats) { } function updateStatsUI(row, stats) { - console.log("HAHHAHAHAHAHHAHA " + JSON.stringify(stats, null, 2)); requestIdleCallback(() => { row.querySelector('.cpu').textContent = stats.cpu.toFixed(2) || '0.00'; row.querySelector('.memory').textContent = (stats.memory / (1024 * 1024)).toFixed(2) || '0.00';