fix: always show matched user tag badge, not just in showAll mode
All checks were successful
Build and Push Docker Image / build (push) Successful in 24s

Unmatched amber badges still only appear when showAll is active.
This commit is contained in:
2026-05-16 15:16:44 +01:00
parent 24b7797b60
commit 43839fd8e3

View File

@@ -442,12 +442,12 @@ function createDownloadCard(download) {
badge.textContent = tag;
header.appendChild(badge);
}
if (download.matchedUserTag) {
const matchedBadge = document.createElement('span');
matchedBadge.className = 'download-user-badge';
matchedBadge.textContent = download.matchedUserTag;
header.appendChild(matchedBadge);
}
}
if (download.matchedUserTag) {
const matchedBadge = document.createElement('span');
matchedBadge.className = 'download-user-badge';
matchedBadge.textContent = download.matchedUserTag;
header.appendChild(matchedBadge);
}
const details = document.createElement('div');