👨‍✈️ chore: Minor MCP-UI Logic Cleanup (#10950)

This commit is contained in:
Dustin Healy 2025-12-12 14:10:57 -08:00 committed by GitHub
parent 959e301f99
commit 5b0cce2e2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 14 deletions

View file

@ -30,7 +30,7 @@ const conversationAttachmentsSelector = selectorFamily<
// Filter to only include attachments for this conversation
Object.entries(attachmentsMap).forEach(([messageId, attachments]) => {
if (!attachments) {
if (!attachments || attachments.length === 0) {
return;
}