Remove console.logs

This commit is contained in:
Peter 2024-02-02 11:05:01 -05:00
parent bdea23eaac
commit 7d51155b7a
2 changed files with 0 additions and 4 deletions

View File

@ -74,7 +74,6 @@ export default {
return this.cardImage1UrlBySeasonNumber.get(this.currentSeasonNumber) return this.cardImage1UrlBySeasonNumber.get(this.currentSeasonNumber)
}, },
selectedCardImage2Url(): string | undefined { selectedCardImage2Url(): string | undefined {
console.log(this.currentSeasonNumber)
if (!this.isAuthenticated || !this.cardImage2UrlBySeasonNumber.has(this.currentSeasonNumber)) return undefined if (!this.isAuthenticated || !this.cardImage2UrlBySeasonNumber.has(this.currentSeasonNumber)) return undefined
return this.cardImage2UrlBySeasonNumber.get(this.currentSeasonNumber) return this.cardImage2UrlBySeasonNumber.get(this.currentSeasonNumber)

View File

@ -288,9 +288,6 @@ export default {
this.regularSeasonFieldingStats = (await Promise.all(this.playerSeasons.map(player => fetchFieldingStatsBySeasonAndPlayerId(player!.season, player!.id, true)))).flatMap(stat => stat).filter(isNotUndefined) this.regularSeasonFieldingStats = (await Promise.all(this.playerSeasons.map(player => fetchFieldingStatsBySeasonAndPlayerId(player!.season, player!.id, true)))).flatMap(stat => stat).filter(isNotUndefined)
this.postSeasonFieldingStats = (await Promise.all(this.playerSeasons.map(player => fetchFieldingStatsBySeasonAndPlayerId(player!.season, player!.id, false)))).flatMap(stat => stat).filter(isNotUndefined) this.postSeasonFieldingStats = (await Promise.all(this.playerSeasons.map(player => fetchFieldingStatsBySeasonAndPlayerId(player!.season, player!.id, false)))).flatMap(stat => stat).filter(isNotUndefined)
// const images = playerSeasons.map(ps => ps.)
// console.log(images.length, Array.from(new Set(images)).length, images, Array.from(new Set(images)))
this.transactions = await fetchTransactionsForCurrentSeasonByPlayerName(this.player.name) this.transactions = await fetchTransactionsForCurrentSeasonByPlayerName(this.player.name)
this.awards = await fetchAwardsByPlayerName(this.player.name) this.awards = await fetchAwardsByPlayerName(this.player.name)
}, },