mail: fix count indicator when loading
This commit is contained in:
@@ -13,7 +13,6 @@ const domainsModel = DomainsModel.create();
|
||||
const mailModel = MailModel.create();
|
||||
|
||||
const domains = ref([]);
|
||||
const busy = ref(true);
|
||||
|
||||
const searchFilter = ref('');
|
||||
|
||||
@@ -112,7 +111,7 @@ onMounted(async () => {
|
||||
<div class="content">
|
||||
<Section :title="$t('emails.domains.title')">
|
||||
<template #header-title-extra>
|
||||
<span style="font-weight: normal; font-size: 14px">({{ busy ? '-' : filteredDomains.length }})</span>
|
||||
<span style="font-weight: normal; font-size: 14px">({{ domains.length === 0 ? '-' : filteredDomains.length }})</span>
|
||||
</template>
|
||||
|
||||
<template #header-buttons>
|
||||
|
||||
Reference in New Issue
Block a user