diff --git a/src/common/helpers/recordFormatting.helper.ts b/src/common/helpers/recordFormatting.helper.ts index fc5f9435..731bc95c 100644 --- a/src/common/helpers/recordFormatting.helper.ts +++ b/src/common/helpers/recordFormatting.helper.ts @@ -240,7 +240,8 @@ export const formatDependeciesTable = (deps: Record[]): Row[] = string, unknown[] >; - const selectedTitle = (rest?.[BFLITE_URIS.TITLE] as Record)?.[0] as Record< + const titleContainer = rest?.[BFLITE_URIS.TITLE] as Record[]; + const selectedTitle = titleContainer?.find(title => Object.hasOwn(title, BFLITE_URIS.TITLE_CONTAINER)) as Record< string, Record >;