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; badge.textContent = tag;
header.appendChild(badge); header.appendChild(badge);
} }
if (download.matchedUserTag) { }
const matchedBadge = document.createElement('span'); if (download.matchedUserTag) {
matchedBadge.className = 'download-user-badge'; const matchedBadge = document.createElement('span');
matchedBadge.textContent = download.matchedUserTag; matchedBadge.className = 'download-user-badge';
header.appendChild(matchedBadge); matchedBadge.textContent = download.matchedUserTag;
} header.appendChild(matchedBadge);
} }
const details = document.createElement('div'); const details = document.createElement('div');