Skip to content

Commit

Permalink
📝 Remove some specimen fields (#3832)
Browse files Browse the repository at this point in the history
  • Loading branch information
evans-g-crsj authored Oct 26, 2023
1 parent cd36243 commit 1a1c5ec
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,20 +202,6 @@ const getDefaultColumns = (): ProColumnType<any>[] => [
defaultHidden: true,
render: (anatomy_site) => anatomy_site || TABLE_EMPTY_PLACE_HOLDER,
},
{
key: 'ncit_id_tissue_type',
title: intl.get('entities.biospecimen.tissue_type_NCIT'),
dataIndex: 'ncit_id_tissue_type',
defaultHidden: true,
render: (ncit_id_tissue_type) => ncit_id_tissue_type || TABLE_EMPTY_PLACE_HOLDER,
},
{
key: 'tissue_type_source_text',
title: intl.get('entities.biospecimen.tissue_type_source_text'),
dataIndex: 'tissue_type_source_text',
defaultHidden: true,
render: (tissue_type_source_text) => tissue_type_source_text || TABLE_EMPTY_PLACE_HOLDER,
},
{
key: 'dbgap_consent_code',
title: 'dbGaP Consent Code',
Expand Down
14 changes: 0 additions & 14 deletions src/views/ParticipantEntity/utils/biospecimens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,6 @@ export const getBiospecimensDefaultColumns = (): ProColumnType[] => [
render: (biospecimen: IBiospecimenEntity) =>
biospecimen?.collection_method_of_sample_procurement || TABLE_EMPTY_PLACE_HOLDER,
},
{
key: 'ncit_id_tissue_type',
title: intl.get('entities.biospecimen.tissue_type_NCIT'),
defaultHidden: true,
render: (biospecimen: IBiospecimenEntity) =>
biospecimen?.ncit_id_tissue_type || TABLE_EMPTY_PLACE_HOLDER,
},
{
key: 'tissue_type_source_text',
title: intl.get('entities.biospecimen.tissue_type_source_text'),
defaultHidden: true,
render: (biospecimen: IBiospecimenEntity) =>
biospecimen?.tissue_type_source_text || TABLE_EMPTY_PLACE_HOLDER,
},
{
key: 'source_text_tumor_location',
title: intl.get('entities.biospecimen.source_text_tumor_location'),
Expand Down

0 comments on commit 1a1c5ec

Please sign in to comment.