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 96801ce commit 08e0f3b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import React from 'react';
import { FaExternalLinkAlt } from 'react-icons/fa';
import { labelEnd } from 'micromark-core-commonmark';

const RenderDiacomLink = ({ cell }: CellRendererFunctionProps) => {
const RenderDicomLink = ({ cell }: CellRendererFunctionProps) => {
if (!cell?.getValue() || cell?.getValue() === '') {
return <span></span>;
} else
Expand Down Expand Up @@ -44,8 +44,8 @@ const JoinFields = (
export const registerCohortTableCustomCellRenderers = () => {
ExplorerTableCellRendererFactory().registerRenderer(
'link',
'DiacomLink',
RenderDiacomLink,
'DicomLink',
RenderDicomLink,
);
ExplorerTableCellRendererFactory().registerRenderer(
'string',
Expand Down

0 comments on commit 08e0f3b

Please sign in to comment.