mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-09 06:38:12 +08:00
check for expression to avoid race condition asyc
This commit is contained in:
@@ -100,6 +100,7 @@ class Scatterplot extends React.Component {
|
|||||||
maybeSetupScalesAndDrawAxes(nextProps) {
|
maybeSetupScalesAndDrawAxes(nextProps) {
|
||||||
if (
|
if (
|
||||||
nextProps.expression &&
|
nextProps.expression &&
|
||||||
|
nextProps.expression.data &&
|
||||||
nextProps.scatterplotXXaccessor &&
|
nextProps.scatterplotXXaccessor &&
|
||||||
nextProps.scatterplotYYaccessor
|
nextProps.scatterplotYYaccessor
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user