[agent-pipeline] pipe-20260328153638-axu2 round-1
This commit is contained in:
@@ -70,7 +70,7 @@ export default function MailDetailModal({
|
||||
setMail(mailDetail);
|
||||
|
||||
// 읽음 처리
|
||||
if (!mailDetail.isRead) {
|
||||
if (!mailDetail.is_read) {
|
||||
await markMailAsRead(accountId, seqno);
|
||||
onMailRead?.(); // 목록 갱신
|
||||
}
|
||||
@@ -78,7 +78,7 @@ export default function MailDetailModal({
|
||||
// 이미지 첨부파일 자동 로드
|
||||
if (mailDetail.attachments) {
|
||||
mailDetail.attachments.forEach((attachment, index) => {
|
||||
if (attachment.contentType?.startsWith('image/')) {
|
||||
if (attachment.content_type?.startsWith('image/')) {
|
||||
loadImageAttachment(index);
|
||||
}
|
||||
});
|
||||
@@ -292,7 +292,7 @@ export default function MailDetailModal({
|
||||
</div>
|
||||
<div className="space-y-2">
|
||||
{mail.attachments.map((attachment, index) => {
|
||||
const isImage = attachment.contentType?.startsWith('image/');
|
||||
const isImage = attachment.content_type?.startsWith('image/');
|
||||
|
||||
return (
|
||||
<div key={index}>
|
||||
|
||||
Reference in New Issue
Block a user