fixing some errors
Deploy / deploy (push) Successful in 39s

This commit is contained in:
2026-05-07 20:15:21 +02:00
parent dddd1a9c40
commit 9e80a5619c
+6
View File
@@ -69,6 +69,12 @@ async function performLogin(authToken) {
if (data.role === 'admin') document.getElementById('settingsBtn').classList.remove('d-none');
document.getElementById('loginOverlay').style.display = 'none';
window.history.replaceState({}, '', '/');
// Init canvas if not already
if (!canvas) {
canvas = document.getElementById('networkCanvas');
ctx = canvas.getContext('2d');
resizeCanvas();
}
loadTeams().then(() => loadEvents());
loadNetworkData();
} else {