Skip to content
Snippets Groups Projects
Commit 878882ae authored by Cyrille Bollu's avatar Cyrille Bollu
Browse files

Makes "New message" button work again


(Fixes regression created in 9498ebac)

Signed-off-by: default avatarCyrille Bollu <cyr.debian@bollu.be>
parent c3907332
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ export default {
const mailboxId = this.$route.params.mailboxId || this.$store.getters.getMailboxes(accountId)[0]?.databaseId
if (
this.$router.currentRoute.name === 'message'
&& this.$router.currentRoute.params.getMailboxes === 'new'
&& this.$router.currentRoute.params.threadId === 'new'
) {
// If we already show the composer, navigating to it would be pointless (and doesn't work)
// instead trigger an event to reset the composer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment