Skip to content

Commit

Permalink
Merge pull request #3885 from kids-first/fix/SKFP-917-part-freq-variants
Browse files Browse the repository at this point in the history
fix(variants): SKFP-917 part frequency
  • Loading branch information
AltefrohneGaelle authored Jan 23, 2024
2 parents 99199c8 + 40d99db commit d2a142b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,9 @@ const getDefaultColumns = (queryBuilderId: string, noData: boolean = false): Pro
return (
<>
{totalNbOfParticipants}
{v.internal_frequencies?.total?.af && isNumber(v.internal_frequencies.total.af) && (
{v.internal_frequencies?.total?.pf && isNumber(v.internal_frequencies.total.pf) && (
<span className={styles.partCell}>
({toExponentialNotation(v.internal_frequencies.total.af)})
({toExponentialNotation(v.internal_frequencies.total.pf)})
</span>
)}
</>
Expand Down Expand Up @@ -316,9 +316,9 @@ const getDefaultColumns = (queryBuilderId: string, noData: boolean = false): Pro
) : (
numberWithCommas(totalNbOfParticipants)
)}
{v.internal_frequencies?.total?.af && isNumber(v.internal_frequencies.total.af) && (
{v.internal_frequencies?.total?.pf && isNumber(v.internal_frequencies.total.pf) && (
<span className={styles.partCell}>
({toExponentialNotation(v.internal_frequencies.total.af)})
({toExponentialNotation(v.internal_frequencies.total.pf)})
</span>
)}
</>
Expand Down

0 comments on commit d2a142b

Please sign in to comment.