Skip to content

Commit

Permalink
oncoprinter - fix mutations menu
Browse files Browse the repository at this point in the history
Signed-off-by: Abeshouse, Adam A./Sloan Kettering Institute <abeshoua@mskcc.org>
  • Loading branch information
Abeshouse, Adam A./Sloan Kettering Institute committed Nov 12, 2019
1 parent f89474f commit 2fa062a
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions src/shared/components/oncoprint/controls/OncoprintControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -919,12 +919,14 @@ export default class OncoprintControls extends React.Component<
return (
<>
<h5>Annotate</h5>
<DriverAnnotationControls
state={this.props.state}
handlers={Object.assign({
onCustomDriverTierCheckboxClick: this.onCustomDriverTierCheckboxClick
} as Partial<IDriverAnnotationControlsHandlers>, this.props.handlers)}
/>
<div style={{ marginLeft: 10 }}>
<DriverAnnotationControls
state={this.props.state}
handlers={Object.assign({
onCustomDriverTierCheckboxClick: this.onCustomDriverTierCheckboxClick
} as Partial<IDriverAnnotationControlsHandlers>, this.props.handlers)}
/>
</div>

<h5>Filter</h5>
<div style={{ marginLeft: 10 }}>
Expand All @@ -946,20 +948,6 @@ export default class OncoprintControls extends React.Component<
unknown significance
</label>
</div>
<div className="checkbox">
<label>
<input
data-test="HideGermline"
type="checkbox"
value={EVENT_KEY.hideGermlineMutations}
checked={
this.props.state.hideGermlineMutations
}
onClick={this.onInputClick}
/>{' '}
Hide germline mutations
</label>
</div>
</div>
</>
);
Expand Down

0 comments on commit 2fa062a

Please sign in to comment.