Peer page: traffic chart opens on 24 hours

This commit is contained in:
Daniel Redetzke
2026-10-05 14:06:05 +03:00
parent dec89d003c
commit beb02a5ca2
+1 -1
View File
@@ -1353,7 +1353,7 @@
sessMore.textContent = allSessions ? 'Show fewer' : 'Show all ' + sessions.length; sessMore.textContent = allSessions ? 'Show fewer' : 'Show all ' + sessions.length;
}; };
drawSessions(); drawSessions();
let range = '7d'; let range = '24h';
const st = peerState(p); const st = peerState(p);
const traffic = h('div'); const traffic = h('div');
const totals = h('div', { class: 'legend-row' }); const totals = h('div', { class: 'legend-row' });