shell-mirror 1.5.89 → 1.5.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/app/dashboard.js +4 -3
package/package.json
CHANGED
package/public/app/dashboard.js
CHANGED
|
@@ -420,9 +420,10 @@ class ShellMirrorDashboard {
|
|
|
420
420
|
|
|
421
421
|
if (agentsData.success && agentsData.data && agentsData.data.agents) {
|
|
422
422
|
this.agents = agentsData.data.agents;
|
|
423
|
-
|
|
424
|
-
//
|
|
425
|
-
|
|
423
|
+
|
|
424
|
+
// Don't load stale sessions from localStorage - only show live sessions from agents
|
|
425
|
+
// Sessions will be populated via WebSocket updates from connected agents
|
|
426
|
+
localStorage.removeItem('shell-mirror-sessions'); // Clear any stale data
|
|
426
427
|
} else {
|
|
427
428
|
this.agents = [];
|
|
428
429
|
}
|