Skip to content

Commit

Permalink
waiting for gene panel data to complete before rendering patient view…
Browse files Browse the repository at this point in the history
… tables (fix cBioPortal/cbioportal/issues/7090)

Signed-off-by: Onur Sumer <s.onur.sumer@gmail.com>
  • Loading branch information
onursumer committed Feb 6, 2020
1 parent 52962e1 commit 739a6bd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/patientView/PatientViewPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,9 @@ export default class PatientViewPage extends React.Component<
this.patientViewPageStore
.sampleToMutationGenePanelId
.isComplete &&
this.patientViewPageStore
.genePanelIdToEntrezGeneIds
.isComplete &&
!!sampleManager && (
<div data-test="patientview-mutation-table">
<PatientViewMutationTable
Expand Down Expand Up @@ -1098,6 +1101,9 @@ export default class PatientViewPage extends React.Component<

{this.patientViewPageStore.studyIdToStudy
.isComplete &&
this.patientViewPageStore
.genePanelIdToEntrezGeneIds
.isComplete &&
this.patientViewPageStore.referenceGenes
.isComplete && (
<div data-test="patientview-copynumber-table">
Expand Down

0 comments on commit 739a6bd

Please sign in to comment.