diff --git a/public/app.js b/public/app.js index e8810fd..c9f75b3 100644 --- a/public/app.js +++ b/public/app.js @@ -300,6 +300,9 @@ function showDashboard() { // Always start with status panel hidden (guards against stale display value on re-login) const sp = document.getElementById('status-panel'); sp.style.display = 'none'; + // Also hide webhooks-section to keep them in sync (both show/hide together) + const webhooksSection = document.getElementById('webhooks-section'); + if (webhooksSection) webhooksSection.style.display = 'none'; document.getElementById('admin-controls').style.display = isAdmin ? 'flex' : 'none'; // Note: webhooks-section visibility is controlled by toggleStatusPanel() // Initialise days input from saved value