More improvements

This commit is contained in:
Antoine Nguyen
2025-05-01 18:00:00 +02:00
parent ce2569f39d
commit 6ee4ea1662
17 changed files with 1159 additions and 74 deletions
@@ -22,6 +22,15 @@
</v-btn>
</div>
<div class="d-flex justify-center mb-4">
<v-btn
:text="$gettext('Compose')"
color="secondary"
variant="flat"
prepend-icon="mdi-pencil"
@click="openComposeForm"
/>
</div>
<MailboxList
:mailboxes="userMailboxes"
class="mr-2"
@@ -56,4 +65,8 @@ function openMailbox(mailbox) {
api.getUserMailboxes().then((resp) => {
userMailboxes.value = resp.data
})
const openComposeForm = () => {
router.push({ name: 'ComposeEmailView' })
}
</script>