Remove unnecessary api call in app router

This commit is contained in:
Bill Thornton 2022-04-22 15:06:17 -04:00
parent de0ae288cf
commit df3f53bbc0

View File

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