mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-09 12:08:11 +08:00
fix accidental state error (#1966)
This commit is contained in:
@@ -7,12 +7,11 @@ import { selectableCategoryNames } from "../../util/stateManager/controlsHelpers
|
|||||||
|
|
||||||
@connect((state) => {
|
@connect((state) => {
|
||||||
return {
|
return {
|
||||||
annoMatrix: state.annoMatrix,
|
|
||||||
schema: state.annoMatrix.schema,
|
schema: state.annoMatrix.schema,
|
||||||
datasetTitle: state.config?.displayNames?.dataset ?? "",
|
datasetTitle: state.config?.displayNames?.dataset ?? "",
|
||||||
aboutURL: state.config?.links?.["about-dataset"],
|
aboutURL: state.config?.links?.["about-dataset"],
|
||||||
isOpen: state.controls.datasetDrawer,
|
isOpen: state.controls.datasetDrawer,
|
||||||
dataPortalProps: state.config?.["corpora_props"] ?? {},
|
dataPortalProps: state.config?.["corpora_props"],
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
class InfoDrawer extends PureComponent {
|
class InfoDrawer extends PureComponent {
|
||||||
@@ -54,7 +53,7 @@ class InfoDrawer extends PureComponent {
|
|||||||
datasetTitle,
|
datasetTitle,
|
||||||
aboutURL,
|
aboutURL,
|
||||||
singleValueCategories,
|
singleValueCategories,
|
||||||
dataPortalProps,
|
dataPortalProps: dataPortalProps ?? {},
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Drawer>
|
</Drawer>
|
||||||
|
|||||||
Reference in New Issue
Block a user