mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Remove unnecessary api call in app router
This commit is contained in:
parent
de0ae288cf
commit
df3f53bbc0
@ -202,13 +202,7 @@ class AppRouter {
|
||||
this.goHome();
|
||||
break;
|
||||
case 'ServerSignIn':
|
||||
result.ApiClient.getPublicUsers().then((users) => {
|
||||
if (users.length) {
|
||||
this.showLocalLogin(result.Servers[0].Id);
|
||||
} else {
|
||||
this.showLocalLogin(result.Servers[0].Id, true);
|
||||
}
|
||||
});
|
||||
this.showLocalLogin(result.ApiClient.serverId());
|
||||
break;
|
||||
case 'ServerSelection':
|
||||
this.showSelectServer();
|
||||
|
Loading…
Reference in New Issue
Block a user