Created
September 11, 2016 19:15
-
-
Save gkatsanos/e3d5818ef28e9a49eb701014bfc7a86a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
onSelect(card: Card): void { | |
this.getDetailedInfo(card); | |
} | |
getDetailedInfo(card) { | |
this.cardService | |
.getDetailedInfo(card) | |
.subscribe((card: Card) => { | |
this.card = this.selectedCard = card; | |
this.dataStore.push(card); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment