From a312bc58d06c63031942426f6bb0de38544fc2b5 Mon Sep 17 00:00:00 2001 From: Sampo Riitala <57003465+realtalin@users.noreply.github.com> Date: Sun, 1 Dec 2024 05:40:12 +0200 Subject: [PATCH] add back accidentally removed parentheses --- frontend/src/components/pages.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/pages.tsx b/frontend/src/components/pages.tsx index aba18122..57a992dd 100644 --- a/frontend/src/components/pages.tsx +++ b/frontend/src/components/pages.tsx @@ -109,7 +109,7 @@ const createReferenceSubtitle = (ref: ReferenceDetailsType) => { const authorsPart = `${makeNameList(authorsSurnames)}` const editorsPart = `${makeNameList(editorsSurnames)} ${editorsSurnames.length > 1 ? '(eds)' : '(ed)'}` - let title = `${authorsPart} ${ref.date_primary}.` + let title = `${authorsPart} (${ref.date_primary}).` switch (ref.ref_type_id) { case 1: // Journal