SES-135 abilities card #63
@ -23,7 +23,7 @@ export class AbilitiesComponent implements OnInit {
|
||||
|
||||
getCharacterStats() {
|
||||
this.store.select( s => s.playerStore.characterId).pipe(first()).subscribe((characterId) => {
|
||||
this.characterService.getCharacterStats(2).pipe(first()).subscribe((characterStats) => {
|
||||
this.characterService.getCharacterStats(characterId).pipe(first()).subscribe((characterStats) => {
|
||||
console.log(characterStats)
|
||||
this.characterStats = characterStats;
|
||||
}, (error: ErrorResponse | HttpErrorResponse) => {
|
||||
|
Loading…
Reference in New Issue
Block a user