From f160d83ca93f267fca9cfd9e0c79f9392fe71965 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Mon, 6 Oct 2025 11:16:02 +0700 Subject: [PATCH] chore: make drodpwon sub menu assisgn project scroll able --- web-app/src/containers/ThreadList.tsx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/web-app/src/containers/ThreadList.tsx b/web-app/src/containers/ThreadList.tsx index 69bcc4d82..dc8634e0f 100644 --- a/web-app/src/containers/ThreadList.tsx +++ b/web-app/src/containers/ThreadList.tsx @@ -205,7 +205,7 @@ const SortableItem = memo( }} /> - + {thread.isFavorite ? ( { @@ -239,7 +239,7 @@ const SortableItem = memo( {t('common:projects.addToProject')} - + {availableProjects.length === 0 ? ( @@ -308,7 +308,11 @@ type ThreadListProps = { currentProjectId?: string } -function ThreadList({ threads, variant = 'default', currentProjectId }: ThreadListProps) { +function ThreadList({ + threads, + variant = 'default', + currentProjectId, +}: ThreadListProps) { const sortedThreads = useMemo(() => { return threads.sort((a, b) => { return (b.updated || 0) - (a.updated || 0) @@ -332,7 +336,12 @@ function ThreadList({ threads, variant = 'default', currentProjectId }: ThreadLi strategy={verticalListSortingStrategy} > {sortedThreads.map((thread, index) => ( - + ))}