Use storageQuota instead of quotaLimit in the mailbox list
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user