Skip to content

Commit 189bef9

Browse files
committed
feat: update
1 parent b3a6436 commit 189bef9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/pages/package/[[org]]/[name]/versions.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ const flatItems = computed<FlatItem[]>(() => {
297297
</div>
298298
<!-- Right: date + provenance -->
299299
<div
300-
v-if="getVersionDownloads(latestTagRow!.version) !== undefined"
300+
v-if="getVersionDownloads(latestTagRow!.version)"
301301
class="text-sm font-medium text-fg tabular-nums shrink-0"
302302
:aria-label="getDownloadsAriaLabel(getVersionDownloads(latestTagRow!.version)!)"
303303
dir="ltr"
@@ -354,7 +354,7 @@ const flatItems = computed<FlatItem[]>(() => {
354354

355355
<!-- Date -->
356356
<span
357-
v-if="getVersionDownloads(row.version) !== undefined"
357+
v-if="getVersionDownloads(row.version)"
358358
class="text-xs text-fg-muted shrink-0 tabular-nums w-24 text-end"
359359
:aria-label="getDownloadsAriaLabel(getVersionDownloads(row.version)!)"
360360
dir="ltr"

0 commit comments

Comments
 (0)