Use storageQuota instead of quotaLimit in the mailbox list

This commit is contained in:
Johannes Zellner
2025-12-01 17:22:58 +01:00
parent 58cf7c720f
commit bc47e30ad3
2 changed files with 2 additions and 3 deletions

View File

@@ -205,7 +205,6 @@ async function refresh() {
async function onMailboxDialogSuccess(mailbox) {
await refreshDomain(mailbox.domain);
await refreshDomainUsage(mailbox.domain);
}
onMounted(async () => {
@@ -277,7 +276,7 @@ onMounted(async () => {
<span v-else>{{ $t('main.loadingPlaceholder') }} ...</span>
</template>
<template #storageQuota="mailbox">
<span v-if="cachedMailboxUsage[mailbox.fullName] && typeof cachedMailboxUsage[mailbox.fullName].quotaLimit !== 'undefined'">{{ prettyDecimalSize(cachedMailboxUsage[mailbox.fullName].quotaLimit) }}</span>
<span v-if="mailbox.storageQuota > 0">{{ prettyDecimalSize(mailbox.storageQuota) }}</span>
<span v-else>-</span>
</template>
<template #actions="mailbox">