mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
return after navigating to wizard
This commit is contained in:
parent
69439bbff0
commit
1c1f5c09b7
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue