Skip to content

Commit cfbe0ce

Browse files
committed
fix: cover idle state
1 parent 19aca4d commit cfbe0ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/Package/MetricsBadges.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const { data: analysis, status } = usePackageAnalysis(
1212
() => props.version,
1313
)
1414
15-
const isLoading = computed(() => status.value === 'pending')
15+
const isLoading = computed(() => status.value !== 'error' && !analysis.value)
1616
1717
// ESM support
1818
const hasEsm = computed(() => {

0 commit comments

Comments
 (0)