diff --git a/allstarr/wwwroot/index.html b/allstarr/wwwroot/index.html index 558b58ad..ce5bec3e 100644 --- a/allstarr/wwwroot/index.html +++ b/allstarr/wwwroot/index.html @@ -208,6 +208,7 @@ + diff --git a/allstarr/wwwroot/js/ui.js b/allstarr/wwwroot/js/ui.js index 1ba01265..a8c9b44b 100644 --- a/allstarr/wwwroot/js/ui.js +++ b/allstarr/wwwroot/js/ui.js @@ -861,6 +861,19 @@ export function updateDownloadsUI(data) { export function updateConfigUI(data) { window.lastConfigData = data; + + // Hide setup wizard if backend connection and music service are already configured + const backendUrl = data.backendType === "Subsonic" ? data.subsonic?.url : data.jellyfin?.url; + const musicService = data.musicService; + const wizardCard = document.getElementById("allstarr-setup-wizard"); + if (wizardCard) { + if (backendUrl && musicService) { + wizardCard.style.display = "none"; + } else { + wizardCard.style.display = "block"; + } + } + if (typeof currentWizardStep !== 'undefined') { renderWizardStep(currentWizardStep); }