1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #2475 from dmitrylyzo/fix-multiserver-wizard

Fix wizard in multi-server app

(cherry picked from commit 62d5c81120)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
Bill Thornton 2021-03-22 14:25:35 -04:00 committed by Joshua M. Boniface
parent 05816d5562
commit f6d50b0721

View file

@ -510,6 +510,7 @@ class AppRouter {
return response.json(); return response.json();
}).then(data => { }).then(data => {
if (data !== null && data.StartupWizardCompleted === false) { if (data !== null && data.StartupWizardCompleted === false) {
ServerConnections.setLocalApiClient(firstResult.ApiClient);
Dashboard.navigate('wizardstart.html'); Dashboard.navigate('wizardstart.html');
} else { } else {
this.handleConnectionResult(firstResult); this.handleConnectionResult(firstResult);