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

Set ApiClient of non-configured server as current

This commit is contained in:
Dmitry Lyzo 2021-03-01 23:49:13 +03:00
parent 30e8605b45
commit fe8a8d0534

View file

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