From deea669e2818c8541fc058a423ed24e80fed795d Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 23 Oct 2026 15:54:03 +0200 Subject: [PATCH] fix(assistant): the journal card's band says how many entries it holds again --- .../components/Assistant/cards/journey/JourneyEntriesBlock.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/components/Assistant/cards/journey/JourneyEntriesBlock.tsx b/client/src/components/Assistant/cards/journey/JourneyEntriesBlock.tsx index e30f101bf..6000490d8 100644 --- a/client/src/components/Assistant/cards/journey/JourneyEntriesBlock.tsx +++ b/client/src/components/Assistant/cards/journey/JourneyEntriesBlock.tsx @@ -66,7 +66,8 @@ function JournalHead({ journal }: { journal: JournalEntries }) { const { t } = useTranslation(); const title = journal.journalTitle ?? t('assistant.card.journey.label'); const count = journal.entries.length + journal.more; - return 2 ? count : undefined} />; + const meta = count > 2 ? t('assistant.card.journey.entries', { count }) : undefined; + return ; } /** One entry as a row: its photo, its title (the way to it), its facts and the start of its text. */