@spash/frontlib 1.2.5 → 1.2.6

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.
Files changed (2) hide show
  1. package/dist/main.js +2 -2
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -25789,10 +25789,10 @@ const j5 = /* @__PURE__ */ je(V5, [["render", z5]]), H5 = { class: "relative min
25789
25789
  if (t.value.aiCalculated)
25790
25790
  p.title = i(`commons.aiEvents.${l(t.value.type)}`), p.color = "redAi";
25791
25791
  else if (t.value.ngtvSessionTeam)
25792
- if (t.value.type === "goal" && s.value.withStats) {
25792
+ if (t.value.type === "goal" && s.value.withStats && s.value.iaStatus === "stats_done") {
25793
25793
  const A = t.value.ngtvSessionTeam.color;
25794
25794
  A === "orange" ? (p.title = "Team B", p.color = "teamA") : A === "blue" && (p.title = "Team A", p.color = "teamB");
25795
- } else t.value.type === "goal" ? t.value.ngtvSessionTeam.home ? (p.title = "Team A", p.color = "teamB") : (p.title = "Team B", p.color = "teamA") : t.value.type === "foul" ? (p.title = i("commons.events.foul"), p.color = "orange") : t.value.ngtvSessionTeam.home ? (p.title = "Team A", p.color = "teamA") : (p.title = "Team B", p.color = "teamB");
25795
+ } else t.value.type === "goal" ? t.value.ngtvSessionTeam.home ? (p.title = "Team A", p.color = "teamA") : (p.title = "Team B", p.color = "teamB") : t.value.type === "foul" ? (p.title = i("commons.events.foul"), p.color = "orange") : t.value.ngtvSessionTeam.home ? (p.title = "Team A", p.color = "teamA") : (p.title = "Team B", p.color = "teamB");
25796
25796
  else
25797
25797
  t.value.type === "buzz" ? (p.title = "Buzz !", p.color = "red") : t.value.type === "foul" ? (p.title = i("commons.events.foul"), p.color = "orange") : t.value.type === "new_set" ? (p.title = i("commons.events.new_set"), p.color = "blue") : (p.title = ((v = h.value) == null ? void 0 : v.name) || "", p.color = "purple");
25798
25798
  return p;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spash/frontlib",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"