mail: fix count indicator when loading

This commit is contained in:
Girish Ramakrishnan
2025-11-15 11:00:54 +01:00
parent 11c5a3f050
commit 6346c7fe9b
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -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>