myron 8c1332c0c6 Fix platform grid not showing for logged-in regular users
Two issues:
1. Race condition: me.php resolves before the platforms fetch, so
   showApp() runs with an empty CFG.platforms and the grid stays
   blank until the Promise.all resolves. Fixed by calling
   buildPlatforms() inside showApp() when platforms are already
   loaded, guaranteeing the grid renders when the app becomes visible.
2. Stale placeholder: 'links' platform (is_active=1) was polluting
   the grid with a "Platform Links coming..." card. Disabled in DB
   (is_active=0).

Also hardened buildPlatforms/buildCashoutPlatforms: null-guard on
selects, early return when CFG.platforms is empty, and clear select
options before re-populating to prevent duplicates on re-call.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06 10:29:27 +00:00
2026-05-22 12:52:50 +00:00
2026-05-22 12:52:50 +00:00
2026-05-22 12:52:50 +00:00
2026-05-22 12:52:50 +00:00
2026-05-22 12:52:50 +00:00
2026-05-22 12:52:50 +00:00
2026-05-22 12:52:50 +00:00
2026-05-22 12:52:50 +00:00
2026-05-22 12:52:50 +00:00
2026-05-22 12:52:50 +00:00
2026-05-22 12:52:50 +00:00
2026-05-22 12:52:50 +00:00
S
Description
Mirror of github.com/myronblair/tomtomgames
262 KiB
Languages
PHP 99.8%
Shell 0.2%