@dcrackel/hematournamentui 1.0.313 → 1.0.315
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -129,8 +129,9 @@ export default {
|
|
|
129
129
|
}));
|
|
130
130
|
},
|
|
131
131
|
getImageURL() {
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
return Array.isArray(this.club.Images) && this.club.Images.length > 0
|
|
133
|
+
? this.club.Images[0].URL
|
|
134
|
+
: "";
|
|
134
135
|
},
|
|
135
136
|
getSelectedAddress() {
|
|
136
137
|
return this.club.Address.Name
|
|
@@ -199,7 +199,9 @@ export default {
|
|
|
199
199
|
return this.person.ProfileImage ? this.person.ProfileImage.URL : '';
|
|
200
200
|
},
|
|
201
201
|
getClubName() {
|
|
202
|
-
return
|
|
202
|
+
return this.person?.Club
|
|
203
|
+
? { text: this.person.Club.Name, link: this.person.Club.ClubId }
|
|
204
|
+
: { text: 'No Club', link: null };
|
|
203
205
|
},
|
|
204
206
|
getSelectedPronouns() {
|
|
205
207
|
return {text: this.person.Pronouns, link: this.person.Pronouns};
|