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:
parent
30e8605b45
commit
fe8a8d0534
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue