@sensiblestats/widget-react 0.33.0 → 0.33.2
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/CHANGELOG.md +12 -0
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -750,6 +750,9 @@ function useLiveDashboardPoll({ messages, dispatch, getLiveDashboard }) {
|
|
|
750
750
|
} else {
|
|
751
751
|
dispatch({ kind: "LIVE_REFRESH", messageId: current.messageId, cards: payload.cards, greeting: payload.greeting });
|
|
752
752
|
}
|
|
753
|
+
} else if (payload?.phase === "postMatch" && current.kind === "live") {
|
|
754
|
+
dispatch({ kind: "LIVE_TRANSITION", messageId: current.messageId, dashboard: payload });
|
|
755
|
+
window.clearInterval(id);
|
|
753
756
|
} else {
|
|
754
757
|
if (current.kind === "live") {
|
|
755
758
|
window.clearInterval(id);
|
|
@@ -1563,10 +1566,7 @@ function InsightCard({ it, ui, slip, monitor }) {
|
|
|
1563
1566
|
/* @__PURE__ */ jsx12("span", { className: "ss-w-bi-live-dot", "aria-hidden": "true" }),
|
|
1564
1567
|
ui?.liveLabel ?? "Live"
|
|
1565
1568
|
] }) : null,
|
|
1566
|
-
compInMeta ? /* @__PURE__ */
|
|
1567
|
-
/* @__PURE__ */ jsx12(Crest2, { kind: "comp", url: it.competitionCrest, name: it.competition }),
|
|
1568
|
-
/* @__PURE__ */ jsx12("span", { className: "ss-w-bi-comp", children: it.competition })
|
|
1569
|
-
] }) : null,
|
|
1569
|
+
compInMeta ? /* @__PURE__ */ jsx12("span", { className: "ss-w-bi-comp-meta", title: it.competition, children: /* @__PURE__ */ jsx12(Crest2, { kind: "comp", url: it.competitionCrest, name: it.competition }) }) : null,
|
|
1570
1570
|
kickoff ? /* @__PURE__ */ jsxs8("span", { className: "ss-w-bi-kick", children: [
|
|
1571
1571
|
kickoff.dayLabel,
|
|
1572
1572
|
" ",
|