return after navigating to wizard

This commit is contained in:
dkanada 2020-11-07 15:16:39 +09:00
parent 69439bbff0
commit 1c1f5c09b7

View File

@ -506,7 +506,7 @@ class AppRouter {
const firstResult = this.firstConnectionResult;
this.firstConnectionResult = null;
if (firstResult && firstResult.State === 'ServerSignIn' && !route.anonymous) {
if (firstResult && firstResult.State === 'ServerSignIn') {
const url = ApiClient.serverAddress() + '/System/Info/Public';
fetch(url).then(response => {
if (!response.ok) return Promise.reject('fetch failed');
@ -520,6 +520,8 @@ class AppRouter {
}).catch(error => {
console.error(error);
});
return;
}
const apiClient = window.connectionManager.currentApiClient();