@dcrackel/hematournamentui 1.0.109 → 1.0.111

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.
@@ -31594,6 +31594,14 @@ const ZO = /* @__PURE__ */ ye(qO, [["render", YO]]), GO = {
31594
31594
  viewName: "List View"
31595
31595
  };
31596
31596
  },
31597
+ watch: {
31598
+ bouts: {
31599
+ handler(n) {
31600
+ this.$forceUpdate();
31601
+ },
31602
+ deep: !0
31603
+ }
31604
+ },
31597
31605
  methods: {
31598
31606
  handleCloseModal(n) {
31599
31607
  if (this.showDirectorModal = !1, this.showEditBoutModal = !1, n.Status !== "Completed") {
@@ -31620,11 +31628,11 @@ const ZO = /* @__PURE__ */ ye(qO, [["render", YO]]), GO = {
31620
31628
  handleSubmitBout(n) {
31621
31629
  this.showEditBoutModal = !1, this.showDirectorModal = !1;
31622
31630
  const e = this.bouts.find((t) => t.BoutId === n.BoutId);
31623
- e && (Object.assign(e, n), e.Status = "Completed", e.Ended = (/* @__PURE__ */ new Date()).toISOString()), this.$emit("submit:bout", e);
31631
+ Object.assign(e, n), e.Status = "Completed", e.Ended = (/* @__PURE__ */ new Date()).toISOString(), this.$emit("submit:bout", e);
31624
31632
  },
31625
31633
  directBout(n) {
31626
31634
  const e = this.bouts.find((t) => t.BoutId === n.BoutId);
31627
- e && (e.Status = "Active", this.showDirectorModal = !0, this.selectedBout = n);
31635
+ e && (e.Status = "Active", this.showDirectorModal = !0, this.selectedBout = e);
31628
31636
  },
31629
31637
  editBout(n) {
31630
31638
  this.bouts.find((t) => t.BoutId === n.BoutId) && (this.showEditBoutModal = !0, this.selectedBout = n);