e0c873cb4c2b6ca25ff40a8396a17e1c6063a3fe
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>
Description
No description provided
3.7 MiB
Languages
PHP
87.5%
HTML
10.7%
CSS
1.6%
JavaScript
0.1%