Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Commit 2a75a85

Browse files
committed
refac
1 parent b94de4f commit 2a75a85

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib/components/layout/Sidebar/ChatItem.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,11 @@
227227
</DragGhost>
228228
{/if}
229229

230-
<div bind:this={itemElement} class=" w-full {className} relative group" {draggable}>
230+
<div
231+
bind:this={itemElement}
232+
class=" w-full {className} relative group"
233+
draggable={draggable && !confirmEdit}
234+
>
231235
{#if confirmEdit}
232236
<div
233237
class=" w-full flex justify-between rounded-lg px-[11px] py-[6px] {id === $chatId ||

0 commit comments

Comments
 (0)