mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-09-25 03:34:14 +00:00
fix to artifact diff. add missing file
This commit is contained in:
@@ -293,11 +293,10 @@ function initTabController() {
|
||||
const content = document.getElementById('tag-content');
|
||||
const selector = document.getElementById('tag-selector');
|
||||
if (!content || !selector || !to) return;
|
||||
const fromDigest = content.dataset.digest;
|
||||
const currentTag = selector.value;
|
||||
if (!fromDigest || to === currentTag) return;
|
||||
if (!currentTag || to === currentTag) return;
|
||||
window.location.href = '/diff/' + content.dataset.owner + '/' + content.dataset.repo +
|
||||
'?from=' + encodeURIComponent(fromDigest) + '&to=' + encodeURIComponent(to);
|
||||
'?from=' + encodeURIComponent(currentTag) + '&to=' + encodeURIComponent(to);
|
||||
};
|
||||
|
||||
window.switchRepoTab = function(tabId) {
|
||||
|
||||
Reference in New Issue
Block a user