Skip to content

Commit 78a64c7

Browse files
authored
fix: remove install size tooltip when size is not available (#1721)
1 parent 088a313 commit 78a64c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ const showSkeleton = shallowRef(false)
11451145
<div class="space-y-1 sm:col-span-3">
11461146
<dt class="text-xs text-fg-subtle uppercase tracking-wider flex items-center gap-1">
11471147
{{ $t('package.stats.install_size') }}
1148-
<TooltipApp :text="sizeTooltip">
1148+
<TooltipApp v-if="sizeTooltip" :text="sizeTooltip">
11491149
<span
11501150
tabindex="0"
11511151
class="inline-flex items-center justify-center min-w-6 min-h-6 -m-1 p-1 text-fg-subtle cursor-help focus-visible:outline-2 focus-visible:outline-accent/70 rounded"

0 commit comments

Comments
 (0)