Skip to content

Commit

Permalink
fix(participant): SKFP-650 fix QA comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AltefrohneGaelle committed Sep 26, 2023
1 parent df91b35 commit 04b375b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/graphql/biospecimens/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ export interface IBiospecimenEntity {
tissue_type_source_text: string;
source_text_tumor_location: string;
dbgap_consent_code: string;
consent_type: string;
}
2 changes: 2 additions & 0 deletions src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1184,6 +1184,7 @@ const en = {

//Other
collection_sample_type: 'Collection Sample Type',
collection_sample_id: 'Collection ID',

//Variants
variant_class: 'Variant Type',
Expand Down Expand Up @@ -1395,6 +1396,7 @@ const en = {
biospecimen_storage: 'Biospecimen Storage',
collection_id: 'Collection ID',
collection_sample_type: 'Collection Sample Type',
consent_type: 'Consent Type',
container_id: 'Container ID',
count: '{count, plural, =0 {Biospecimen} =1 {Biospecimen} other {Biospecimens}}',
dbgap_consent_code: 'Consent Code (dbGaP)',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@

.text {
line-height: 22px;
color: $gray-7;
color: $body-2;
font-size: 14px;
}
7 changes: 7 additions & 0 deletions src/views/ParticipantEntity/utils/biospecimens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ export const getBiospecimensDefaultColumns = (): ProColumnType[] => [
render: (biospecimen: IBiospecimenEntity) =>
biospecimen?.dbgap_consent_code || TABLE_EMPTY_PLACE_HOLDER,
},
{
key: 'consent_type',
title: intl.get('entities.biospecimen.consent_type'),
defaultHidden: true,
render: (biospecimen: IBiospecimenEntity) =>
biospecimen?.consent_type || TABLE_EMPTY_PLACE_HOLDER,
},
{
key: 'volume',
title: intl.get('entities.biospecimen.volume'),
Expand Down

0 comments on commit 04b375b

Please sign in to comment.