fix(desktop): show copy button on messages with thinking blocks
Some checks failed
Cargo Deny / deny (push) Has been cancelled
Unused Dependencies / machete (push) Has been cancelled

This commit is contained in:
Alex Hancock 2026-10-06 15:08:13 -04:00
parent 903743ee06
commit e55baff2c6

View file

@ -132,7 +132,7 @@ function GooseMessage({
{timestamp}
</div>
)}
{message.content.every((content) => content.type === 'text') && !isStreaming && (
{displayText.trim() && !isStreaming && (
<div className="absolute left-0 pt-1">
<MessageCopyLink text={displayText} contentRef={contentRef} />
</div>