Skip to content

Commit 737f3ec

Browse files
committed
chore: should navigate on left mouse only
1 parent 9642227 commit 737f3ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/frontend/app/components/chat/ChatSidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ const [DefineThreadLiItem, ReuseThreadLiItem] = createReusableTemplate<{ thread:
216216
<NuxtLink
217217
:to="`/chat/${thread._id}`"
218218
class="group/thread relative block flex items-center gap-2 overflow-hidden rounded-md p-2 px-3 text-sm [&.router-link-exact-active]:bg-primary/10 hover:bg-primary/20"
219-
@mousedown="navigateTo(`/chat/${thread._id}`);"
219+
@mousedown.left="navigateTo(`/chat/${thread._id}`);"
220220
@click="navigateTo(`/chat/${thread._id}`); sidebarContext.setOpenMobile(false)"
221221
>
222222
<div class="h-4 flex items-center gap-1">

0 commit comments

Comments
 (0)