mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 21:02:28 +00:00
Merge pull request #2048 from PR0M3TH3AN/codex/adjust-handlecardvisible-logic-for-webseedonly
Handle webseed-only probe results in grid health badges
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -603,7 +603,8 @@ function handleCardVisible({ card, pendingByCard, priority = 0 }) {
|
||||
setBadge(card, "unknown");
|
||||
return;
|
||||
}
|
||||
if (!result.hasProbeTrackers) {
|
||||
const isWebseedOnly = result.webseedOnly || result.reason === "webseed";
|
||||
if (!result.hasProbeTrackers && !isWebseedOnly) {
|
||||
setBadge(card, "unknown", result);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user