@dcrackel/meyersquaredui 1.0.70 → 1.0.71
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
|
@@ -118,6 +118,8 @@ export default {
|
|
|
118
118
|
return this.tournament.PrimaryContact.DisplayName === 'BYE' ? 'Contact Not Assigned' : this.tournament.PrimaryContact.DisplayName;
|
|
119
119
|
},
|
|
120
120
|
ContactImage() {
|
|
121
|
+
if (!this.tournament.PrimaryContact) return this.defaultPortrait;
|
|
122
|
+
if (this.tournament.PrimaryContact.PersonId === 0) return this.defaultPortrait;
|
|
121
123
|
return this.tournament?.PrimaryContact?.Images?.[0]?.URL || this.defaultPortrait;
|
|
122
124
|
},
|
|
123
125
|
RulesLink() {
|