From 0cde255f1d421b4883b9ef1356a1698067330074 Mon Sep 17 00:00:00 2001 From: GaelleA Date: Wed, 29 Nov 2023 08:17:57 -0500 Subject: [PATCH] fix(participant): SKFP-870 graphql error --- src/graphql/participants/queries.ts | 2 +- src/views/ParticipantEntity/utils/biospecimens.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/graphql/participants/queries.ts b/src/graphql/participants/queries.ts index 7d4060575..3061c2409 100644 --- a/src/graphql/participants/queries.ts +++ b/src/graphql/participants/queries.ts @@ -163,7 +163,7 @@ export const GET_PARTICIPANT_ENTITY = gql` collection_anatomy_site collection_method_of_sample_procurement collection_ncit_anatomy_site_id - collection_ncit_id_tissue_type + ncit_id_tissue_type collection_sample_id collection_sample_type consent_type diff --git a/src/views/ParticipantEntity/utils/biospecimens.tsx b/src/views/ParticipantEntity/utils/biospecimens.tsx index 7fa3aa0c3..f40c81082 100644 --- a/src/views/ParticipantEntity/utils/biospecimens.tsx +++ b/src/views/ParticipantEntity/utils/biospecimens.tsx @@ -60,9 +60,9 @@ export const getBiospecimensDefaultColumns = (): ProColumnType[] => [ biospecimen?.collection_anatomy_site || TABLE_EMPTY_PLACE_HOLDER, }, { - key: 'collection_ncit_id_tissue_type', + key: 'ncit_id_tissue_type', title: intl.get('entities.biospecimen.ncit_id_tissue_type'), - dataIndex: 'collection_ncit_id_tissue_type', + dataIndex: 'ncit_id_tissue_type', defaultHidden: true, render: (ncit_id_tissue_type) => ncit_id_tissue_type || TABLE_EMPTY_PLACE_HOLDER, },