refac: dragged overlay behaviour to only activate for files
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
|
||||
<ShareChatModal bind:show={showShareChatModal} chatId={chat.id} />
|
||||
|
||||
<div class=" w-full pr-2 relative group">
|
||||
<div class=" w-full pr-2 relative group" draggable="true">
|
||||
{#if confirmEdit}
|
||||
<div
|
||||
class=" w-full flex justify-between rounded-xl px-3 py-2 {chat.id === $chatId || confirmEdit
|
||||
|
||||
@@ -146,7 +146,6 @@
|
||||
type: 'delete',
|
||||
name: e.detail.name
|
||||
});
|
||||
show = false;
|
||||
}}
|
||||
on:close={() => {
|
||||
show = false;
|
||||
|
||||
Reference in New Issue
Block a user