Few fixes.

This commit is contained in:
Antoine Nguyen
2026-02-03 10:32:18 +01:00
parent e488119606
commit b0438cd03c
8 changed files with 15 additions and 11 deletions
@@ -318,8 +318,8 @@ const openAttachmentsDialog = () => {
const closeAttachmentDialog = async () => {
showAttachmentsDialog.value = false
const resp = await api.getUploadedAttachments(route.query.uid)
attachmentCount.value = resp.data.length
const resp = await api.getComposeSession(route.query.uid)
attachmentCount.value = resp.data.attachments.length
}
const lookForContacts = debounce(async (search) => {
@@ -251,7 +251,7 @@ const props = defineProps({
})
const { $gettext, $ngettext } = useGettext()
const { displayNotification, reloadMailboxCounters } = useBusStore()
const { displayNotification, reloadMailboxCounters, reloadData } = useBusStore()
const webmailStore = useWebmailStore()
const router = useRouter()
const route = useRoute()
@@ -324,6 +324,7 @@ const updateScheduledEmail = async (datetime) => {
selectedScheduledEmail.value.scheduled_id,
data
)
reloadData()
fetchEmails()
displayNotification({ msg: $gettext('Scheduling updated') })
}
+1
View File
@@ -45,6 +45,7 @@ export const useBusStore = defineStore('bus', () => {
reloadMailboxCounters,
dataKey,
mbCounterKey,
reloadData,
$reset,
}
})