mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-02 12:13:54 +01:00
Various fixes
This commit is contained in:
@@ -90,7 +90,7 @@ const removeAttachment = async (attachment) => {
|
||||
attachments.value.splice(index, 1)
|
||||
}
|
||||
|
||||
api.getUploadedAttachments(props.sessionUid).then((resp) => {
|
||||
attachments.value = resp.data
|
||||
api.getComposeSession(props.sessionUid).then((resp) => {
|
||||
attachments.value = resp.data.attachments
|
||||
})
|
||||
</script>
|
||||
|
||||
@@ -263,7 +263,7 @@ const submit = async () => {
|
||||
body.bcc = bcc
|
||||
}
|
||||
try {
|
||||
await api.sendEmail(body)
|
||||
await api.sendEmailFromComposeSession(route.query.uid, body)
|
||||
router.push({ name: 'MailboxView' })
|
||||
displayNotification({ msg: $gettext('Email sent') })
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user