Skip to content

Commit

Permalink
fix(SKFP-1090): fix basic-bordered theme for description (#4091)
Browse files Browse the repository at this point in the history
  • Loading branch information
lflangis authored Aug 14, 2024
1 parent f516825 commit e3813d3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 54 deletions.
56 changes: 9 additions & 47 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@babel/core": "^7.16.0",
"@dnd-kit/core": "^4.0.3",
"@dnd-kit/sortable": "^5.1.0",
"@ferlab/ui": "^10.5.0",
"@ferlab/ui": "^10.5.1",
"@loadable/component": "^5.15.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@react-keycloak/core": "^3.2.0",
Expand Down
13 changes: 7 additions & 6 deletions src/views/VariantEntity/utils/summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,20 @@ const renderOmim = (pickedOmim: IArrangerEdge<IGeneOmim>[]) => {
if (!pickedOmim.length) return [{ label: undefined, value: <>{TABLE_EMPTY_PLACE_HOLDER}</> }];

return pickedOmim.map((omim) => ({
label: undefined,
label: (
<ExternalLink href={`https://www.omim.org/entry/${omim.node.omim_id}`}>
{omim.node.name}
</ExternalLink>
),
value: (
<Space size={4}>
<ExternalLink href={`https://www.omim.org/entry/${omim.node.omim_id}`}>
{omim.node.name}
</ExternalLink>
<>
{omim.node.inheritance_code?.length > 0 &&
omim.node.inheritance_code.map((code) => (
<Tooltip key={code} title={intl.get(`screen.variants.table.inheritant.code.${code}`)}>
<Tag>{code}</Tag>
</Tooltip>
))}
</Space>
</>
),
}));
};
Expand Down

0 comments on commit e3813d3

Please sign in to comment.