File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed
Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff 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' ,
Original file line number Diff line number Diff line change @@ -170,10 +170,10 @@ const ReportView = (): JSX.Element => {
170170 < div className = "report__content-container" >
171171 { Boolean ( report ) && (
172172 < ReportToolbar
173- diagnosis = { report . patientInformation . diagnosis }
174- patientId = { report . patientId }
175- type = { report . template . name }
176- state = { report . state }
173+ diagnosis = { report ? .patientInformation ? .diagnosis }
174+ patientId = { report ? .patientId }
175+ type = { report ? .template . name }
176+ state = { report ? .state }
177177 isSidebarVisible = { isSidebarVisible }
178178 onSidebarToggle = { setIsSidebarVisible }
179179 />
Original file line number Diff line number Diff line change 11{
22 "private" : true ,
33 "name" : " ipr-client" ,
4- "version" : " 7.2.0 " ,
4+ "version" : " 7.3.1 " ,
55 "keywords" : [],
66 "license" : " GPL-3.0" ,
77 "sideEffects" : false ,
You can’t perform that action at this time.
0 commit comments