Skip to content

Commit

Permalink
Update CustomCellRenderers.tsx to use DicomLink
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertSnows authored Dec 5, 2024
1 parent b2fdd94 commit a452ba4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/CohortBuilder/CustomCellRenderers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const RenderLinkCell = (
};


const RenderDiacomLink = ({ cell }: CellRendererFunctionProps) => {
const RenderDicomLink = ({ cell }: CellRendererFunctionProps) => {
if (!cell.getValue() || cell.getValue() === '') {
return <span></span>;
} else
Expand All @@ -41,8 +41,8 @@ const RenderDiacomLink = ({ cell }: CellRendererFunctionProps) => {

export const registerCohortTableCustomCellRenderers = () => {
ExplorerTableCellRendererFactory().registerRenderer(
'link', 'DiacomLink' ,
RenderDiacomLink,
'link', 'DicomLink' ,
RenderDicomLink,
);
ExplorerTableCellRendererFactory().registerRenderer(
'link', 'linkURL' ,
Expand Down

0 comments on commit a452ba4

Please sign in to comment.