mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-26 05:24:04 +03:00
[Bug] Put back subject is email right drawer (#5955)
Fix https://github.com/twentyhq/twenty/issues/5903
This commit is contained in:
parent
60b60bd4b3
commit
ff21396bc6
@ -71,6 +71,7 @@ export const RightDrawerEmailThread = () => {
|
||||
? visibleMessages.slice(2, visibleMessagesCount - 1)
|
||||
: [];
|
||||
const lastMessage = visibleMessages[visibleMessagesCount - 1];
|
||||
const subject = visibleMessages[0]?.subject;
|
||||
|
||||
return (
|
||||
<StyledContainer>
|
||||
@ -79,7 +80,7 @@ export const RightDrawerEmailThread = () => {
|
||||
) : (
|
||||
<>
|
||||
<EmailThreadHeader
|
||||
subject={thread.subject}
|
||||
subject={subject}
|
||||
lastMessageSentAt={lastMessage.receivedAt}
|
||||
/>
|
||||
{firstMessages.map((message) => (
|
||||
|
Loading…
Reference in New Issue
Block a user