SES-103 #38
@ -54,7 +54,7 @@ export class SignInComponent implements OnDestroy, OnInit {
|
|||||||
this.store.dispatch(new AddUserId({userId: success}));
|
this.store.dispatch(new AddUserId({userId: success}));
|
||||||
//TODO zmienić na jedna linie
|
//TODO zmienić na jedna linie
|
||||||
if (role === 'player') {
|
if (role === 'player') {
|
||||||
this.router.navigate([role]);
|
this.router.navigate(['select-character']);
|
||||||
} else {
|
} else {
|
||||||
this.router.navigate([role]);
|
this.router.navigate([role]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user