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 d6acbe4 commit 4c453ddCopy full SHA for 4c453dd
1 file changed
app/pages/search.vue
@@ -253,9 +253,10 @@ const effectiveTotal = computed(() => {
253
})
254
255
const resultsLimitAppliedText = computed<string>(() => {
256
- console.log(effectiveTotal.value, visibleResults.value?.totalUnlimited)
257
- if (isRelevanceSort.value && effectiveTotal.value < visibleResults.value?.totalUnlimited) {
258
- const total = { total: $n(visibleResults.value?.totalUnlimited) }
+ const totalUnlimited = visibleResults.value?.totalUnlimited ?? 0
+
+ if (isRelevanceSort.value && effectiveTotal.value < totalUnlimited) {
259
+ const total = { total: $n(totalUnlimited) }
260
261
return searchProvider.value === 'npm'
262
? $t('search.more_results_available_npm', total)
0 commit comments