fix: always show matched user tag badge, not just in showAll mode
Build and Push Docker Image / build (push) Successful in 24s
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:
+1
-1
@@ -442,13 +442,13 @@ function createDownloadCard(download) {
|
|||||||
badge.textContent = tag;
|
badge.textContent = tag;
|
||||||
header.appendChild(badge);
|
header.appendChild(badge);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (download.matchedUserTag) {
|
if (download.matchedUserTag) {
|
||||||
const matchedBadge = document.createElement('span');
|
const matchedBadge = document.createElement('span');
|
||||||
matchedBadge.className = 'download-user-badge';
|
matchedBadge.className = 'download-user-badge';
|
||||||
matchedBadge.textContent = download.matchedUserTag;
|
matchedBadge.textContent = download.matchedUserTag;
|
||||||
header.appendChild(matchedBadge);
|
header.appendChild(matchedBadge);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
const details = document.createElement('div');
|
const details = document.createElement('div');
|
||||||
details.className = 'download-details';
|
details.className = 'download-details';
|
||||||
|
|||||||
Reference in New Issue
Block a user