We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c6decf commit 3113448Copy full SHA for 3113448
1 file changed
app/pages/package/[[org]]/[name]/versions.vue
@@ -72,8 +72,8 @@ const otherTagRows = computed(() =>
72
tagRows.value
73
.filter(r => !r.tags.includes('latest'))
74
.sort((rowA, rowB) => {
75
- const priorityA = getTagPriority(rowA.primaryTag)
76
- const priorityB = getTagPriority(rowB.primaryTag)
+ const priorityA = Math.min(...rowA.tags.map(getTagPriority))
+ const priorityB = Math.min(...rowB.tags.map(getTagPriority))
77
if (priorityA !== priorityB) return priorityA - priorityB
78
const timeA = versionTimes.value[rowA.version] ?? ''
79
const timeB = versionTimes.value[rowB.version] ?? ''
0 commit comments