thuang-126-CZIF-policy-updates (#2111) (#2112)

This commit is contained in:
Timmy Huang
2021-03-17 16:07:42 -07:00
committed by GitHub
parent 920d71e6b7
commit 8d932fb47d
4 changed files with 14 additions and 5 deletions
@@ -167,7 +167,11 @@ const renderLinks = (projectLinks, aboutURL) => {
const InfoFormat = React.memo(
({ datasetTitle, singleValueCategories, aboutURL, dataPortalProps = {} }) => {
if (["1.0.0", "1.1.0"].indexOf(dataPortalProps.version?.["corpora_schema_version"]) === -1) {
if (
["1.0.0", "1.1.0"].indexOf(
dataPortalProps.version?.["corpora_schema_version"]
) === -1
) {
dataPortalProps = {};
}
const {