mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-27 06:13:16 +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)
|
? visibleMessages.slice(2, visibleMessagesCount - 1)
|
||||||
: [];
|
: [];
|
||||||
const lastMessage = visibleMessages[visibleMessagesCount - 1];
|
const lastMessage = visibleMessages[visibleMessagesCount - 1];
|
||||||
|
const subject = visibleMessages[0]?.subject;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<StyledContainer>
|
<StyledContainer>
|
||||||
@ -79,7 +80,7 @@ export const RightDrawerEmailThread = () => {
|
|||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<EmailThreadHeader
|
<EmailThreadHeader
|
||||||
subject={thread.subject}
|
subject={subject}
|
||||||
lastMessageSentAt={lastMessage.receivedAt}
|
lastMessageSentAt={lastMessage.receivedAt}
|
||||||
/>
|
/>
|
||||||
{firstMessages.map((message) => (
|
{firstMessages.map((message) => (
|
||||||
|
Loading…
Reference in New Issue
Block a user