SES-135 changes property characterId
This commit is contained in:
parent
868c05ef99
commit
e414e321b6
@ -23,7 +23,7 @@ export class AbilitiesComponent implements OnInit {
|
|||||||
|
|
||||||
getCharacterStats() {
|
getCharacterStats() {
|
||||||
this.store.select( s => s.playerStore.characterId).pipe(first()).subscribe((characterId) => {
|
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)
|
console.log(characterStats)
|
||||||
this.characterStats = characterStats;
|
this.characterStats = characterStats;
|
||||||
}, (error: ErrorResponse | HttpErrorResponse) => {
|
}, (error: ErrorResponse | HttpErrorResponse) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user