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