mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-22 06:28:41 +02:00
Few fixes.
This commit is contained in:
@@ -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') })
|
||||
}
|
||||
|
||||
@@ -45,6 +45,7 @@ export const useBusStore = defineStore('bus', () => {
|
||||
reloadMailboxCounters,
|
||||
dataKey,
|
||||
mbCounterKey,
|
||||
reloadData,
|
||||
$reset,
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user