@dcrackel/hematournamentui 1.0.97 → 1.0.98

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.
@@ -29932,8 +29932,10 @@ const zR = /* @__PURE__ */ ke(DR, [["render", JR]]), KR = {
29932
29932
  this.$emit("goLive:pool");
29933
29933
  },
29934
29934
  getDirectorName(n) {
29935
- const e = n.find((t) => t.Role === "Director");
29936
- return e ? e.Person.DisplayName : "Unassigned";
29935
+ if (!Array.isArray(n))
29936
+ return "Unassigned";
29937
+ const e = n.find((t) => t.Role === "Director" && t.Person);
29938
+ return e && e.Person ? e.Person.DisplayName : "Unassigned";
29937
29939
  },
29938
29940
  swapFencers({ draggedPerson: n }) {
29939
29941
  this.$emit("update:swapFencers", { draggedPerson: n });