@openneuro/app 4.34.0 → 4.34.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openneuro/app",
3
- "version": "4.34.0",
3
+ "version": "4.34.1",
4
4
  "description": "React JS web frontend for the OpenNeuro platform.",
5
5
  "license": "MIT",
6
6
  "main": "public/client.js",
@@ -75,5 +75,5 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "7fba7bc8f590f788a4e4a95a5fb2a5b1ef9038b4"
78
+ "gitHead": "af9d77970641f2dcfd67921a8c39b9719743676c"
79
79
  }
@@ -39,7 +39,7 @@ export const LandingExpandedHeader: React.FC<LandingExpandedHeaderProps> = ({
39
39
  cubeImage={item.cubeImage}
40
40
  altText={item.altText}
41
41
  cubeFaceImage={item.cubeFaceImage}
42
- stats={aggregateCounts(item.label)}
42
+ stats={aggregateCounts(item.label.toLowerCase())}
43
43
  onClick={(redirectPath) => (_err) => {
44
44
  navigate(redirectPath)
45
45
  }}
@@ -21,7 +21,7 @@ const BRAIN_INITIATIVE_COUNT = gql`
21
21
  `
22
22
 
23
23
  const usePublicDatasetsCount = (modality?: string) => {
24
- const isNIH = modality === "NIH"
24
+ const isNIH = modality === "nih"
25
25
 
26
26
  const query = isNIH ? BRAIN_INITIATIVE_COUNT : PUBLIC_DATASETS_COUNT
27
27
  const variables = isNIH