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

Fix wizard in multi-server app
This commit is contained in:
Bill Thornton 2021-03-22 14:25:35 -04:00 committed by GitHub
commit 62d5c81120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);