mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-22 17:58:11 +08:00
fix version check (#1968)
Inverted the schema version check so that we check that it IS 1.0.0. 
This commit is contained in:
@@ -13,7 +13,7 @@ const DATASET_TITLE_FONT_SIZE = 14;
|
||||
@connect((state) => {
|
||||
const { corpora_props: corporaProps } = state.config;
|
||||
const correctVersion =
|
||||
corporaProps?.version?.["corpora_schema_version"] !== "1.0.0";
|
||||
corporaProps?.version?.["corpora_schema_version"] === "1.0.0";
|
||||
return {
|
||||
datasetTitle: state.config?.displayNames?.dataset ?? "",
|
||||
libraryVersions: state.config?.["library_versions"],
|
||||
|
||||
Reference in New Issue
Block a user