diff --git a/js/gridHealth.js b/js/gridHealth.js index b8124a9f..7f90e6e5 100644 --- a/js/gridHealth.js +++ b/js/gridHealth.js @@ -480,11 +480,8 @@ function setBadge(card, state, details) { delete badge.dataset.variant; } - const peersText = - normalizedState === "healthy" && peersValue > 0 ? ` (${peersValue})` : ""; - const iconPrefix = entry.icon ? `${entry.icon} ` : ""; - badge.textContent = `${iconPrefix}WebTorrent${peersText}`; + badge.textContent = `${iconPrefix}WebTorrent`; const tooltip = normalizedState === "checking" || normalizedState === "unknown" ? entry.aria diff --git a/js/ui/components/VideoCard.js b/js/ui/components/VideoCard.js index 8179b048..6392ba8a 100644 --- a/js/ui/components/VideoCard.js +++ b/js/ui/components/VideoCard.js @@ -1601,10 +1601,8 @@ export class VideoCard { } else if (badge.dataset.variant) { delete badge.dataset.variant; } - const peersText = - state === "healthy" && peersValue > 0 ? ` (${peersValue})` : ""; const iconPrefix = descriptor.icon ? `${descriptor.icon} ` : ""; - const computedText = `${iconPrefix}WebTorrent${peersText}`; + const computedText = `${iconPrefix}WebTorrent`; badge.textContent = text || computedText; const tooltipValue =