aboutsummaryrefslogtreecommitdiffstats
path: root/static/modules
diff options
context:
space:
mode:
Diffstat (limited to 'static/modules')
-rw-r--r--static/modules/xbox.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/modules/xbox.js b/static/modules/xbox.js
index ec4a14a..65aa7f7 100644
--- a/static/modules/xbox.js
+++ b/static/modules/xbox.js
@@ -213,6 +213,9 @@ function render(box, st) {
const top = h("div", "xb-top");
if (st.playing) top.append(nowPlaying(st));
for (const c of st.consoles ?? []) top.append(consoleCard(c));
+ if (!st.consoles?.length && st.reason?.startsWith("consoles")) {
+ top.append(h("div", "xb-stale", "Console control is unavailable: Xbox Live refused the console list."));
+ }
box.append(top);
box.append(h("div", "xb-section", "Recent games"));