Fix Login page not displayed

This commit is contained in:
2025-10-03 10:25:37 +00:00
parent a2a4f07fa5
commit 5235965214
5 changed files with 19 additions and 7 deletions

View File

@@ -549,8 +549,8 @@ function initializeSelectors() {
}
function showLoginView() {
if (appContainer) appContainer.style.display = 'block';
if (loginContainer) loginContainer.style.display = 'none';
if (appContainer) appContainer.style.display = 'none';
if (loginContainer) loginContainer.style.display = 'flex';
if (loginButton) loginButton.addEventListener('click', () => { window.location.href = apiUrl('/login'); });
}
@@ -560,4 +560,4 @@ function initializeSelectors() {
} else {
showLoginView();
}
})
})