diff --git a/web/src/features/dashboard/index.tsx b/web/src/features/dashboard/index.tsx index 578d47d..a73da17 100644 --- a/web/src/features/dashboard/index.tsx +++ b/web/src/features/dashboard/index.tsx @@ -20,6 +20,7 @@ import { get_dashboard_stats, INITIAL_DASHBOARD_STATS, TimeBucket } from '@/api/ import { Main } from '@/components/layout/main'; import { FixedHeader } from '@/components/layout/fixed-header'; import { useTranslation } from 'react-i18next'; +import LongText from '@/components/long-text'; import { getToken } from '@/stores/authStore'; import { useNavigate } from '@tanstack/react-router'; import useMinimalAccountList from '@/hooks/use-minimal-account-list'; @@ -346,18 +347,18 @@ export default function MailArchiveDashboard() { -
- +
+ {t('dashboard.top10Senders')} {hasTopSenders ? ( - +
{t('dashboard.sender')} - {t('dashboard.count')} + {t('dashboard.count')} @@ -368,16 +369,18 @@ export default function MailArchiveDashboard() {
- + + +
@@ -392,17 +395,17 @@ export default function MailArchiveDashboard() { )} - + {t('dashboard.top10LargestEmails')} {hasTopEmails ? ( -
+
{t('dashboard.subject')} - {t('dashboard.size')} + {t('dashboard.size')} @@ -413,16 +416,18 @@ export default function MailArchiveDashboard() {
- + + +
@@ -437,7 +442,7 @@ export default function MailArchiveDashboard() { )} - + {t('dashboard.top10LargestAttachments')} @@ -445,11 +450,11 @@ export default function MailArchiveDashboard() { {stats?.top_largest_attachments?.length ? ( -
+
{t('attachment.name')} - {t('dashboard.size')} + {t('dashboard.size')} @@ -463,16 +468,18 @@ export default function MailArchiveDashboard() {
- + + +
@@ -489,17 +496,17 @@ export default function MailArchiveDashboard() { )} - + {t('dashboard.top10Accounts')} {hasTopAccounts ? ( -
+
{t('dashboard.account')} - {t('dashboard.emails')} + {t('dashboard.emails')} @@ -510,16 +517,18 @@ export default function MailArchiveDashboard() {
- + + +