mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-15 20:57:56 +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),
|
||||
categorySelectionLimit: _.get(
|
||||
state.config,
|
||||
"parameters.category-selection-limit",
|
||||
globals.configDefaults.parameters["category-selection-limit"]
|
||||
"parameters.max-category-items",
|
||||
globals.configDefaults.parameters["max-category-items"]
|
||||
)
|
||||
}))
|
||||
class Categories extends React.Component {
|
||||
|
||||
@@ -39,7 +39,7 @@ export const configDefaults = {
|
||||
features: {},
|
||||
displayNames: {},
|
||||
parameters: {
|
||||
"category-selection-limit": 1000
|
||||
"max-category-items": 1000
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user