Skip to content

Commit e9f8f65

Browse files
Merge branch 'develop' into feat/DEVSU-2832-reorder-summary
2 parents 59612c3 + 08c04b3 commit e9f8f65

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
@@ -384,18 +384,20 @@ const RapidSummary = ({
384384
const { genomeTmb } = report;
385385

386386
let tmbDisplayValue = 'No data available';
387+
388+
if (genomeTmb) {
389+
tmbDisplayValue = genomeTmb.toFixed(2);
390+
}
387391

388392
if (tmburMutBur) {
389393
const { tmbHidden, adjustedTmb } = tmburMutBur;
390394
if (tmbHidden) {
391395
tmbDisplayValue = null;
392396
} else if (adjustedTmb != null) {
393397
tmbDisplayValue = adjustedTmb.toFixed(2);
394-
} else if (genomeTmb) {
395-
tmbDisplayValue = genomeTmb.toFixed(2);
396398
}
397399
}
398-
400+
399401
return ([
400402
{
401403
term: 'Pathology Tumour Content',

0 commit comments

Comments
 (0)