mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 07:08:12 +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) => {
|
@connect((state) => {
|
||||||
const { corpora_props: corporaProps } = state.config;
|
const { corpora_props: corporaProps } = state.config;
|
||||||
const correctVersion =
|
const correctVersion =
|
||||||
corporaProps?.version?.["corpora_schema_version"] !== "1.0.0";
|
corporaProps?.version?.["corpora_schema_version"] === "1.0.0";
|
||||||
return {
|
return {
|
||||||
datasetTitle: state.config?.displayNames?.dataset ?? "",
|
datasetTitle: state.config?.displayNames?.dataset ?? "",
|
||||||
libraryVersions: state.config?.["library_versions"],
|
libraryVersions: state.config?.["library_versions"],
|
||||||
|
|||||||
Reference in New Issue
Block a user