mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
return after navigating to wizard
This commit is contained in:
parent
69439bbff0
commit
1c1f5c09b7
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user