+
{{ getSeasonStringBySeasonNumber(currentSeasonNumber) }}
-
@@ -67,12 +67,12 @@ export default {
return new Map(this.playerSeasons.map(ps => [ps.season, ps.image2]))
},
selectedCardImage1Url(): string | undefined {
- if (!this.cardImage1UrlBySeasonNumber.has(this.currentSeasonNumber)) return undefined
+ if (!this.isAuthenticated || !this.cardImage1UrlBySeasonNumber.has(this.currentSeasonNumber)) return undefined
return this.cardImage1UrlBySeasonNumber.get(this.currentSeasonNumber)
},
selectedCardImage2Url(): string | undefined {
- if (!this.cardImage2UrlBySeasonNumber.has(this.currentSeasonNumber)) return undefined
+ if (!this.isAuthenticated || !this.cardImage2UrlBySeasonNumber.has(this.currentSeasonNumber)) return undefined
return this.cardImage2UrlBySeasonNumber.get(this.currentSeasonNumber)
},
diff --git a/src/services/authenticationService.ts b/src/services/authenticationService.ts
index d8ce1e3..4d53859 100644
--- a/src/services/authenticationService.ts
+++ b/src/services/authenticationService.ts
@@ -26,7 +26,7 @@ export function getOwnerId(): string | undefined {
export async function completeAuthentication(): Promise
{
if (!window.location.hash) {
- console.warn('No token hash found in return URL')
+ // console.warn('No token hash found in return URL')
return
}