fix game entry and payout bugs

This commit is contained in:
jwinterm
2026-02-18 06:35:32 -05:00
parent d56ad7599b
commit bf5938c366
5 changed files with 93 additions and 215 deletions
+5 -5
View File
@@ -983,12 +983,12 @@
return Math.floor(seconds / 86400) + 'd ago';
}
// Auto-refresh every 30 seconds
// Auto-refresh every 15 seconds for active tabs
setInterval(() => {
if (apiKey && currentTab === 'overview') {
loadDashboard();
}
}, 30000);
if (!apiKey) return;
if (currentTab === 'overview') loadDashboard();
else if (currentTab === 'queue') loadQueue();
}, 15000);
</script>
</body>
</html>