diff --git a/public/app.js b/public/app.js index 9c54829..dab1fe8 100644 --- a/public/app.js +++ b/public/app.js @@ -802,6 +802,7 @@ function closeStatusPanel() { async function refreshStatusPanel() { const panel = document.getElementById('status-panel'); const contentDiv = document.getElementById('status-content'); + console.log('[Status] panel found:', !!panel, 'contentDiv found:', !!contentDiv, 'panel display:', panel?.style?.display); if (!panel || panel.style.display === 'none') return; console.log('[Status] Refreshing status panel...'); try { @@ -927,7 +928,11 @@ function renderStatusPanel(data, panel) { html += ``; // Render into status-content div, not the whole panel (preserves webhooks section) const contentDiv = document.getElementById('status-content'); - console.log('[Status] contentDiv found:', !!contentDiv, 'HTML length:', html.length); + const panelCheck = document.getElementById('status-panel'); + console.log('[Status] contentDiv found:', !!contentDiv, 'panel children:', panelCheck?.children?.length, 'HTML length:', html.length); + if (panelCheck) { + console.log('[Status] panel innerHTML preview:', panelCheck.innerHTML.substring(0, 200)); + } if (contentDiv) { contentDiv.innerHTML = html; console.log('[Status] HTML rendered, contentDiv innerHTML length:', contentDiv.innerHTML.length);