From 1a1c5ec44d8fa5c2d8f7fe1eb093158d0f51ea15 Mon Sep 17 00:00:00 2001 From: Evans Girard <54366437+evans-g-crsj@users.noreply.github.com> Date: Thu, 26 Oct 2023 17:17:39 -0400 Subject: [PATCH] :pencil: Remove some specimen fields (#3832) --- .../PageContent/tabs/Biospecimens/index.tsx | 14 -------------- src/views/ParticipantEntity/utils/biospecimens.tsx | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/src/views/DataExploration/components/PageContent/tabs/Biospecimens/index.tsx b/src/views/DataExploration/components/PageContent/tabs/Biospecimens/index.tsx index ec82347f5..755836676 100644 --- a/src/views/DataExploration/components/PageContent/tabs/Biospecimens/index.tsx +++ b/src/views/DataExploration/components/PageContent/tabs/Biospecimens/index.tsx @@ -202,20 +202,6 @@ const getDefaultColumns = (): ProColumnType[] => [ 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', diff --git a/src/views/ParticipantEntity/utils/biospecimens.tsx b/src/views/ParticipantEntity/utils/biospecimens.tsx index b259a0263..5d4af471e 100644 --- a/src/views/ParticipantEntity/utils/biospecimens.tsx +++ b/src/views/ParticipantEntity/utils/biospecimens.tsx @@ -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'),