mail page fix design dang
This commit is contained in:
parent
795211f785
commit
d0161fadae
@ -1671,6 +1671,22 @@ export default function CourrierPage() {
|
|||||||
attachments={attachments}
|
attachments={attachments}
|
||||||
setAttachments={setAttachments}
|
setAttachments={setAttachments}
|
||||||
handleSend={handleSend}
|
handleSend={handleSend}
|
||||||
|
onSend={(email) => {
|
||||||
|
// Handle the sent email
|
||||||
|
console.log('Email sent:', email);
|
||||||
|
setShowCompose(false);
|
||||||
|
}}
|
||||||
|
onCancel={() => {
|
||||||
|
setShowCompose(false);
|
||||||
|
setComposeTo('');
|
||||||
|
setComposeCc('');
|
||||||
|
setComposeBcc('');
|
||||||
|
setComposeSubject('');
|
||||||
|
setComposeBody('');
|
||||||
|
setShowCc(false);
|
||||||
|
setShowBcc(false);
|
||||||
|
setAttachments([]);
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
{renderDeleteConfirmDialog()}
|
{renderDeleteConfirmDialog()}
|
||||||
</>
|
</>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user