File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed
src/pages/resultsView/mutation Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -334,14 +334,20 @@ export default class Mutations extends React.Component<
334
334
count : number ,
335
335
mutations : Mutation [ ] ,
336
336
axisMode : AxisScale
337
- ) : JSX . Element {
338
- return (
339
- < LollipopTooltipCountInfo
340
- count = { count }
341
- mutations = { mutations }
342
- axisMode = { axisMode }
343
- patientCount = { this . props . store . filteredPatients . result ! . length }
344
- />
345
- ) ;
337
+ ) {
338
+ if ( this . props . store . filteredPatients . isComplete ) {
339
+ return (
340
+ < LollipopTooltipCountInfo
341
+ count = { count }
342
+ mutations = { mutations }
343
+ axisMode = { axisMode }
344
+ patientCount = {
345
+ this . props . store . filteredPatients . result . length
346
+ }
347
+ />
348
+ ) ;
349
+ } else {
350
+ return < > </ > ;
351
+ }
346
352
}
347
353
}
You can’t perform that action at this time.
0 commit comments