fix: copy button is always displayed on the chat logs page (#4488)

This commit is contained in:
Vikey Chen 2024-05-17 22:26:19 +08:00 committed by GitHub
parent 8b931b085c
commit 9808520992
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -362,7 +362,7 @@ const Answer: FC<IAnswerProps> = ({
{!item.isOpeningStatement && (
<CopyBtn
value={content}
className='mr-1'
className={cn(s.copyBtn, 'mr-1')}
/>
)}
{((isShowPromptLog && !isResponding) || (!item.isOpeningStatement && isShowTextToSpeech)) && (