mail page fix
This commit is contained in:
parent
dc31c610ca
commit
eec1f81e30
@ -1000,16 +1000,26 @@ export default function CourrierPage() {
|
|||||||
{selectedEmail.fromName?.charAt(0) || selectedEmail.from.charAt(0)}
|
{selectedEmail.fromName?.charAt(0) || selectedEmail.from.charAt(0)}
|
||||||
</AvatarFallback>
|
</AvatarFallback>
|
||||||
</Avatar>
|
</Avatar>
|
||||||
<div>
|
<div className="flex-1">
|
||||||
<p className="font-medium text-gray-900">
|
<p className="font-medium text-gray-900">
|
||||||
{selectedEmail.fromName || selectedEmail.from}
|
{selectedEmail.fromName} <span className="text-gray-500"><{selectedEmail.from}></span>
|
||||||
</p>
|
</p>
|
||||||
<p className="text-sm text-gray-500">
|
<p className="text-sm text-gray-500">
|
||||||
to {selectedEmail.to}
|
to {selectedEmail.to}
|
||||||
</p>
|
</p>
|
||||||
|
{selectedEmail.cc && (
|
||||||
|
<p className="text-sm text-gray-500">
|
||||||
|
cc {selectedEmail.cc}
|
||||||
|
</p>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="ml-auto text-sm text-gray-500">
|
<div className="text-sm text-gray-500 whitespace-nowrap">
|
||||||
{formatDate(selectedEmail.date)}
|
{new Date(selectedEmail.date).toLocaleString([], {
|
||||||
|
month: 'short',
|
||||||
|
day: 'numeric',
|
||||||
|
hour: '2-digit',
|
||||||
|
minute: '2-digit'
|
||||||
|
})}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user