Fix status panel: remove innerHTML wipe that destroys status-content div
This commit is contained in:
@@ -300,7 +300,6 @@ function showDashboard() {
|
|||||||
// Always start with status panel hidden (guards against stale display value on re-login)
|
// Always start with status panel hidden (guards against stale display value on re-login)
|
||||||
const sp = document.getElementById('status-panel');
|
const sp = document.getElementById('status-panel');
|
||||||
sp.style.display = 'none';
|
sp.style.display = 'none';
|
||||||
sp.innerHTML = '';
|
|
||||||
document.getElementById('admin-controls').style.display = isAdmin ? 'flex' : 'none';
|
document.getElementById('admin-controls').style.display = isAdmin ? 'flex' : 'none';
|
||||||
// Note: webhooks-section visibility is controlled by toggleStatusPanel()
|
// Note: webhooks-section visibility is controlled by toggleStatusPanel()
|
||||||
// Initialise days input from saved value
|
// Initialise days input from saved value
|
||||||
|
|||||||
Reference in New Issue
Block a user