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 17a9ecd commit c6db424Copy full SHA for c6db424
app/components/SearchSuggestionCard.vue
@@ -14,7 +14,11 @@ defineProps<{
14
<template>
15
<BaseCard :isExactMatch="isExactMatch">
16
<NuxtLink
17
- :to="type === 'user' ? `/~${name}` : `/@${name}`"
+ :to="
18
+ type === 'user'
19
+ ? { name: '~username', params: { username: name } }
20
+ : { name: 'org', params: { org: name } }
21
+ "
22
:data-suggestion-index="index"
23
class="flex items-center gap-4 focus-visible:outline-none after:content-[''] after:absolute after:inset-0"
24
>
0 commit comments