summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/stats.html5
1 files changed, 4 insertions, 1 deletions
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) => `
<li><span>${item.watched_with}</span><strong>${item.count}</strong></li>
`).join("");