From cb83239a8aeb3f818290cba38b3f98fed8afcc2f Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 29 Oct 2026 05:26:40 +0900 Subject: [PATCH] refac --- .../components/layout/Sidebar/ChatItem.svelte | 21 +-- .../components/layout/Sidebar/ChatMenu.svelte | 173 +++++++++--------- 2 files changed, 92 insertions(+), 102 deletions(-) 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}