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 61c8d5d commit 71dfff5Copy full SHA for 71dfff5
app/pages/package/[[org]]/[name].vue
@@ -495,7 +495,7 @@ const likeAction = async () => {
495
}
496
497
498
-const dependencyCount = getDependencyCount(displayVersion.value)
+const dependencyCount = computed(() => getDependencyCount(displayVersion.value))
499
500
const numberFormatter = useNumberFormatter()
501
const compactNumberFormatter = useCompactNumberFormatter()
@@ -918,7 +918,7 @@ onKeyStroke(
918
</span>
919
920
<!-- Separator and install size -->
921
- <template v-if="displayVersion?.dist.unpackedSize !== installSize?.totalSize">
+ <template v-if="displayVersion?.dist?.unpackedSize !== installSize?.totalSize">
922
<span class="text-fg-subtle mx-1">/</span>
923
924
<span
0 commit comments