mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-02 08:58:11 +08:00
update config params to match REST API spec (#393)
This commit is contained in:
@@ -25,8 +25,8 @@ const truncateCategories = options => {
|
|||||||
ranges: _.get(state.controls.world, "summary.obs", null),
|
ranges: _.get(state.controls.world, "summary.obs", null),
|
||||||
categorySelectionLimit: _.get(
|
categorySelectionLimit: _.get(
|
||||||
state.config,
|
state.config,
|
||||||
"parameters.category-selection-limit",
|
"parameters.max-category-items",
|
||||||
globals.configDefaults.parameters["category-selection-limit"]
|
globals.configDefaults.parameters["max-category-items"]
|
||||||
)
|
)
|
||||||
}))
|
}))
|
||||||
class Categories extends React.Component {
|
class Categories extends React.Component {
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export const configDefaults = {
|
|||||||
features: {},
|
features: {},
|
||||||
displayNames: {},
|
displayNames: {},
|
||||||
parameters: {
|
parameters: {
|
||||||
"category-selection-limit": 1000
|
"max-category-items": 1000
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user