@dcrackel/hematournamentui 1.0.264 → 1.0.266

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.
@@ -34353,7 +34353,7 @@ const ff = /* @__PURE__ */ ie(wN, [["render", GN], ["__scopeId", "data-v-262bb7e
34353
34353
  { id: "Bracket", label: "Bracket", color: "primaryHighlight" },
34354
34354
  { id: "Final", label: "Final Results", color: "primaryHighlight" }
34355
34355
  ],
34356
- viewName: "List View"
34356
+ viewName: "Pool Grid"
34357
34357
  };
34358
34358
  },
34359
34359
  watch: {
@@ -34389,8 +34389,9 @@ const ff = /* @__PURE__ */ ie(wN, [["render", GN], ["__scopeId", "data-v-262bb7e
34389
34389
  Object.assign(e, n), e.Status = "Completed", e.Ended = (/* @__PURE__ */ new Date()).toISOString(), this.$emit("submit:bout", e);
34390
34390
  },
34391
34391
  directBout(n) {
34392
- const e = this.bouts.find((t) => t.BoutId === n.BoutId);
34393
- e && (e.Status = "Active", this.showDirectorModal = !0, this.selectedBout = e), this.$emit("update:directing-bout", e);
34392
+ this.bouts.filter((r) => r.Status === "Active").forEach((r) => r.Status = "Scheduled");
34393
+ const t = this.bouts.find((r) => r.BoutId === n.BoutId);
34394
+ t && (t.Status = "Active", this.showDirectorModal = !0, this.selectedBout = t), this.$emit("update:directing-bout", t);
34394
34395
  },
34395
34396
  editBout(n) {
34396
34397
  this.bouts.find((t) => t.BoutId === n.BoutId) && (this.showEditBoutModal = !0, this.selectedBout = n);
@@ -34437,8 +34438,9 @@ function lF(n, e, t, r, i, o) {
34437
34438
  p(l, {
34438
34439
  bout: g,
34439
34440
  hostingClubColors: t.hostingClubColors,
34440
- "onAction:startBout": o.directBout
34441
- }, null, 8, ["bout", "hostingClubColors", "onAction:startBout"])
34441
+ "onAction:startBout": o.directBout,
34442
+ "onAction:resumeBout": o.directBout
34443
+ }, null, 8, ["bout", "hostingClubColors", "onAction:startBout", "onAction:resumeBout"])
34442
34444
  ]))), 128))
34443
34445
  ])
34444
34446
  ])) : T("", !0),