[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: update link path in search-suggestion-card (#1102)

authored by

Alex Savelyev and committed by
GitHub
c6db424c 17a9ecdf

+5 -1
+5 -1
app/components/SearchSuggestionCard.vue
··· 14 14 <template> 15 15 <BaseCard :isExactMatch="isExactMatch"> 16 16 <NuxtLink 17 - :to="type === 'user' ? `/~${name}` : `/@${name}`" 17 + :to=" 18 + type === 'user' 19 + ? { name: '~username', params: { username: name } } 20 + : { name: 'org', params: { org: name } } 21 + " 18 22 :data-suggestion-index="index" 19 23 class="flex items-center gap-4 focus-visible:outline-none after:content-[''] after:absolute after:inset-0" 20 24 >