auto-sync: 2026-05-18 13:06:30

This commit is contained in:
cfdaily
2026-05-18 13:06:30 +08:00
parent efd328c11e
commit 2149398997
@@ -193,6 +193,7 @@ export default function MailPanel() {
border: '1px solid var(--acc)', background: 'var(--acc)22', color: 'var(--acc)', cursor: 'pointer',
}}> </button>
)}
{detail.status !== 'done' && (
<button onClick={async () => {
await fetch(`/api/mail/${detail.id}`, {
method: 'PATCH', headers: { 'Content-Type': 'application/json' },
@@ -204,6 +205,7 @@ export default function MailPanel() {
padding: '6px 14px', borderRadius: 6, fontSize: 11,
border: '1px solid #2ecc8a', background: '#2ecc8a22', color: '#2ecc8a', cursor: 'pointer',
}}> </button>
)}
</div>
</>
)}