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
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:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user