Skip to content

Commit

Permalink
fix: UILD-421: adjust multiple instances table title seleciton
Browse files Browse the repository at this point in the history
  • Loading branch information
s3fs committed Dec 18, 2024
1 parent e1f5010 commit 9c34014
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/helpers/recordFormatting.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ export const formatDependeciesTable = (deps: Record<string, unknown>[]): Row[] =
string,
unknown[]
>;
const selectedTitle = (rest?.[BFLITE_URIS.TITLE] as Record<string, unknown>)?.[0] as Record<
const titleContainer = rest?.[BFLITE_URIS.TITLE] as Record<string, unknown>[];
const selectedTitle = titleContainer?.find(title => Object.hasOwn(title, BFLITE_URIS.TITLE_CONTAINER)) as Record<
string,
Record<string, unknown[]>
>;
Expand Down

0 comments on commit 9c34014

Please sign in to comment.