addFlowCard() referenced CONFIG.menus, CONFIG.flows and ENDPOINTS but those variables were only defined in the conversation-tree page (a different route). On /admin/bot-config the access threw ReferenceError, aborting the function before insertAdjacentHTML ran, so no card appeared. Compute botConfigJson/botEndpointsJson from already-loaded PHP data and emit them as const CONFIG / ENDPOINTS at the top of the page's <script>. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>