mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-26 06:38:12 +08:00
Handle schema v1.1.0 (#2002)
Correctly display datasets that follow schema version 1.1.0
This commit is contained in:
@@ -167,7 +167,7 @@ const renderLinks = (projectLinks, aboutURL) => {
|
||||
|
||||
const InfoFormat = React.memo(
|
||||
({ datasetTitle, singleValueCategories, aboutURL, dataPortalProps = {} }) => {
|
||||
if (dataPortalProps.version?.["corpora_schema_version"] !== "1.0.0") {
|
||||
if (["1.0.0", "1.1.0"].indexOf(dataPortalProps.version?.["corpora_schema_version"]) === -1) {
|
||||
dataPortalProps = {};
|
||||
}
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user