diff --git a/src/app/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/index.tsx b/src/app/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/index.tsx index 64953759ba0b..238f02fe55dc 100644 --- a/src/app/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/index.tsx +++ b/src/app/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/index.tsx @@ -9,6 +9,7 @@ import { CHAT_TEXTAREA_MAX_HEIGHT, HEADER_HEIGHT, } from '@/const/layoutTokens'; +import { useFileStore } from '@/store/file'; import { useGlobalStore } from '@/store/global'; import { systemStatusSelectors } from '@/store/global/selectors'; @@ -24,10 +25,11 @@ const DesktopChatInput = memo(() => { systemStatusSelectors.inputHeight(s), s.updateSystemStatus, ]); + const showFileList = useFileStore((s) => s.inputFilesList.length > 0); return ( <> - {!expand && } + {!expand && }