mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-03 11:08:11 +08:00
ensure continuous present to prevent indexOf null error
This commit is contained in:
@@ -108,6 +108,7 @@ class Continuous extends React.Component {
|
|||||||
maybeDrawLines(nextProps) {
|
maybeDrawLines(nextProps) {
|
||||||
if (
|
if (
|
||||||
nextProps.ranges &&
|
nextProps.ranges &&
|
||||||
|
nextProps.continuousSelection &&
|
||||||
this.state.axes /* this may cause things to never render :/ forceUpdate? */
|
this.state.axes /* this may cause things to never render :/ forceUpdate? */
|
||||||
) {
|
) {
|
||||||
if (this.state._drawCellLines) {
|
if (this.state._drawCellLines) {
|
||||||
|
|||||||
Reference in New Issue
Block a user