Do not load message from Drafts folder when replying.

fix #3939
This commit is contained in:
Antoine Nguyen
2026-02-24 11:26:35 +01:00
parent 3af49cff5d
commit 0359bb1b87
3 changed files with 14 additions and 5 deletions
+2 -1
View File
@@ -54,7 +54,7 @@
>
</v-btn>
<v-btn
v-if="route.query.mailbox === 'Drafts'"
v-if="route.query.mailbox === constants.DRAFTS_FOLDER"
class="ml-2"
variant="tonal"
icon="mdi-pencil"
@@ -177,6 +177,7 @@ import { nextTick, onMounted, onUnmounted, ref, watch } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import { useGettext } from 'vue3-gettext'
import { useBusStore } from '@/stores'
import constants from '@/constants.json'
import api from '@/api/webmail'
import ContactCard from '@/components/webmail/ContactCard.vue'