This commit is contained in:
Łukasz Góreczny 2020-12-21 16:56:32 +01:00
parent c1f520fbc5
commit 1fc3e040e7

View File

@ -54,7 +54,7 @@ export class SignInComponent implements OnDestroy, OnInit {
this.store.dispatch(new AddUserId({userId: success}));
//TODO zmienić na jedna linie
if (role === 'player') {
this.router.navigate([role]);
this.router.navigate(['select-character']);
} else {
this.router.navigate([role]);
}