From 677bbcef072695803ca87897f29c3ed81c0e9052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Jim=C3=A9nez?= Date: Tue, 30 Apr 2024 07:46:09 +0000 Subject: [PATCH] Correct mistakes --- src/fragmentarium/domain/FragmentDtos.ts | 1 + src/fragmentarium/ui/info/ExternalNumberLink.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/fragmentarium/domain/FragmentDtos.ts b/src/fragmentarium/domain/FragmentDtos.ts index 020c66d60..c19135b45 100644 --- a/src/fragmentarium/domain/FragmentDtos.ts +++ b/src/fragmentarium/domain/FragmentDtos.ts @@ -113,6 +113,7 @@ export default interface FragmentDto { script: ScriptDto externalNumbers: ExternalNumbers projects: readonly string[] + sealTextNumbers: readonly string[] date?: MesopotamianDateDto datesInText?: readonly MesopotamianDateDto[] archaeology?: Omit & { diff --git a/src/fragmentarium/ui/info/ExternalNumberLink.tsx b/src/fragmentarium/ui/info/ExternalNumberLink.tsx index dca2e66e7..a4d514651 100644 --- a/src/fragmentarium/ui/info/ExternalNumberLink.tsx +++ b/src/fragmentarium/ui/info/ExternalNumberLink.tsx @@ -228,17 +228,17 @@ export function OraccLinks({ } export function SealLinks({ - projects, + sealTextNumbers, }: { - projects: readonly string[] + sealTextNumbers: readonly string[] }): JSX.Element { return ( <> {'SEAL ('} - {projects.map((project, index) => ( + {sealTextNumbers.map((sealTextNumber, index) => ( {index !== 0 && ', '} - + ))} {')'}