Skip to content

Commit

Permalink
fix(studies): SJIP-1104 use a and not link
Browse files Browse the repository at this point in the history
  • Loading branch information
GaelleA committed Dec 3, 2024
1 parent b9eef2c commit 9bcfa7b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/views/PublicStudies/utils.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import intl from 'react-intl-universal';
import { Link } from 'react-router-dom';
import { AuditOutlined } from '@ant-design/icons';
import ExternalLink from '@ferlab/ui/core/components/ExternalLink';
import { ProColumnType } from '@ferlab/ui/core/components/ProTable/types';
Expand Down Expand Up @@ -56,7 +55,7 @@ export const getColumns = (): ProColumnType<any>[] => [
title: intl.get('entities.study.code'),
dataIndex: 'study_code',
// TODO Open modal
render: (study_code: string) => <Link to={''}>{study_code}</Link>,
render: (study_code: string) => <a>{study_code}</a>,
},
{
key: 'study_name',
Expand Down Expand Up @@ -146,7 +145,7 @@ export const getColumns = (): ProColumnType<any>[] => [

return participantCount ? (
// TODO Open modal
<Link to={''}>{numberWithCommas(participantCount)}</Link>
<a>{numberWithCommas(participantCount)}</a>
) : (
participantCount || TABLE_EMPTY_PLACE_HOLDER
);
Expand All @@ -160,7 +159,7 @@ export const getColumns = (): ProColumnType<any>[] => [

return fileCount ? (
// TODO Open modal
<Link to={''}>{numberWithCommas(fileCount)}</Link>
<a>{numberWithCommas(fileCount)}</a>
) : (
fileCount || TABLE_EMPTY_PLACE_HOLDER
);
Expand Down

0 comments on commit 9bcfa7b

Please sign in to comment.