From 21f0cb70ca8f6c1731bf0e514e2668f42ea00718 Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Wed, 6 May 2026 16:50:56 -0700 Subject: Hide solo from watched with stats list Filter out 'solo' entries from the watched_with_breakdown on the stats page so only companions are shown. Co-Authored-By: Claude Haiku 4.5 --- templates/stats.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/stats.html b/templates/stats.html index 2983418..e0a6a91 100644 --- a/templates/stats.html +++ b/templates/stats.html @@ -111,7 +111,10 @@ `).join(""); const watchedWith = document.getElementById("watched-with"); - watchedWith.innerHTML = data.watched_with_breakdown.slice(0, 8).map((item) => ` + watchedWith.innerHTML = data.watched_with_breakdown + .filter((item) => item.watched_with.toLowerCase() !== "solo") + .slice(0, 8) + .map((item) => `
  • ${item.watched_with}${item.count}
  • `).join(""); -- cgit v1.3-2-g0d8e