Skip to content

Commit 08c04b3

Browse files
authored
Merge pull request #738 from bcgsc/bugfix/DEVSU-2877-TGRs-not-displaying-TMB-results
bugfix/DEVSU-2877-TGRs-not-displaying-TMB-results
2 parents 5171305 + dfcabe2 commit 08c04b3

File tree

1 file changed

+5
-3
lines changed
  • app/views/ReportView/components/RapidSummary

1 file changed

+5
-3
lines changed

app/views/ReportView/components/RapidSummary/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,18 +383,20 @@ const RapidSummary = ({
383383
const { genomeTmb } = report;
384384

385385
let tmbDisplayValue = 'No data available';
386+
387+
if (genomeTmb) {
388+
tmbDisplayValue = genomeTmb.toFixed(2);
389+
}
386390

387391
if (tmburMutBur) {
388392
const { tmbHidden, adjustedTmb } = tmburMutBur;
389393
if (tmbHidden) {
390394
tmbDisplayValue = null;
391395
} else if (adjustedTmb != null) {
392396
tmbDisplayValue = adjustedTmb.toFixed(2);
393-
} else if (genomeTmb) {
394-
tmbDisplayValue = genomeTmb.toFixed(2);
395397
}
396398
}
397-
399+
398400
return ([
399401
{
400402
term: 'Pathology Tumour Content',

0 commit comments

Comments
 (0)