Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: sender field for soup emails falls back to email address (#385)

Peter Chinman10568b71e141
diff --git a/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx b/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx
index 95189bc36d..e1e165e981 100644
--- a/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx
+++ b/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx
@@ -265,7 +265,9 @@ export function EntityWithEverything(
<div class="flex w-[20cqw] gap-2 font-semibold shrink-0">
{/* Sender Name */}
<div class="truncate">
- {displayedNames() ?? props.entity.senderName}
+ {displayedNames() ??
+ props.entity.senderName ??
+ props.entity.senderEmail?.split('@')[0]}
</div>
{/* Sender Email Address */}
{/* <Show