@dcrackel/meyersquaredui 1.0.70 → 1.0.73

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcrackel/meyersquaredui",
3
3
  "private": false,
4
- "version": "1.0.70",
4
+ "version": "1.0.73",
5
5
  "type": "module",
6
6
  "main": "dist/meyersquaredui.cjs.js",
7
7
  "module": "dist/meyersquaredui.esm.js",
@@ -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() {