v1.0.2 - fixed cashouts

This commit is contained in:
2026-05-10 15:25:21 -05:00
parent 63a0c688f0
commit 28d2f8102d
4 changed files with 46 additions and 59 deletions
+1 -3
View File
@@ -1003,7 +1003,6 @@ loadStats();
loadPurchases('pending');
loadCashouts('pending');
loadUsers();
loadHistory(1);
async function loadStats() {
const d = await apiFetch('stats');
@@ -1701,7 +1700,7 @@ function adjustTokens(uid) {}
function toggleUser(uid) {}
// ─── FULL HISTORY ──────────────────────────────────────────
let _histPage = 1;
var _histPage = 1;
async function loadHistory(page) {
if (page) _histPage = page;
@@ -2896,7 +2895,6 @@ function showSec(name) {
if (name === 'pending') loadPendingSignups();
if (name === 'history') loadHistory(1);
if (name === 'users') { loadUsers(); showGamerList(); }
if (name === 'platform-accounts') loadPlatformAccounts('pending');
if (name === 'referrals') { loadAdminReferrals('pending', document.querySelector('#section-referrals .ftab')); }
if (name === 'platform-accounts') loadPlatformAccountRequests('pending', document.querySelector('#section-platform-accounts .ftab'));
if (name === 'broadcasts') loadBroadcasts();