diff --git a/src/lib/components/layout/Sidebar/ChatItem.svelte b/src/lib/components/layout/Sidebar/ChatItem.svelte index 0fec8835ed..a53a53323a 100644 --- a/src/lib/components/layout/Sidebar/ChatItem.svelte +++ b/src/lib/components/layout/Sidebar/ChatItem.svelte @@ -58,7 +58,6 @@ import ChatParticipants from '$lib/components/common/ChatParticipants.svelte'; import ChatIcon from './icons/Chat.svelte'; import MoreHorizontalIcon from './icons/MoreHorizontal.svelte'; - import EditPencilIcon from './icons/EditPencil.svelte'; import SparklesIcon from './icons/Sparkles.svelte'; import ArchiveBoxIcon from '$lib/components/icons/ArchiveBox.svelte'; import GarbageBinIcon from '$lib/components/icons/GarbageBin.svelte'; @@ -773,7 +772,7 @@ {/if} - {#if (!readonly || canRename) && !selecting} + {#if (!readonly || (canRename && !confirmEdit)) && !selecting}