SES-135 abilities card #63

Merged
s426134 merged 6 commits from SES-135 into dev 2021-01-10 16:02:20 +01:00
Showing only changes of commit e414e321b6 - Show all commits

View File

@ -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) => {