Skip to content

Commit

Permalink
feat: CQDG-417 addremoveUnderscoreAndCapitalize for type in variant page
Browse files Browse the repository at this point in the history
  • Loading branch information
Aymeric Toulouse committed Oct 24, 2023
1 parent 770d9e3 commit cdeb9c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/VariantEntity/utils/summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ export const getSummaryItems = (variant?: IVariantEntity): IEntitySummaryColumns
},
{
label: intl.get('entities.variant.type'),
value: variant?.variant_class || TABLE_EMPTY_PLACE_HOLDER,
value: variant?.variant_class
? removeUnderscoreAndCapitalize(variant.variant_class)
: TABLE_EMPTY_PLACE_HOLDER,
},
{
label: intl.get('entities.variant.cytoband'),
Expand Down

0 comments on commit cdeb9c4

Please sign in to comment.