Ensure the dashboard redirects to the dns setup if no admin fqdn is set yet

This commit is contained in:
Johannes Zellner
2025-05-26 13:40:06 +02:00
parent a50d7e2c60
commit c37ecab029

View File

@@ -573,7 +573,7 @@ function redirectIfNeeded(status, currentView) {
return true;
}
if (currentView === 'dashboard') {
if (currentView !== 'setup') {
window.location.href = '/setup.html' + window.location.search;
return true;
}