@openneuro/app 4.29.6 → 4.29.8

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.29.6",
3
+ "version": "4.29.8",
4
4
  "description": "React JS web frontend for the OpenNeuro platform.",
5
5
  "license": "MIT",
6
6
  "main": "public/client.js",
@@ -20,7 +20,7 @@
20
20
  "@emotion/react": "11.11.1",
21
21
  "@emotion/styled": "11.11.0",
22
22
  "@niivue/niivue": "0.45.1",
23
- "@openneuro/components": "^4.29.6",
23
+ "@openneuro/components": "^4.29.8",
24
24
  "@sentry/react": "^8.25.0",
25
25
  "@tanstack/react-table": "^8.9.3",
26
26
  "buffer": "^6.0.3",
@@ -74,5 +74,5 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "dc3b42368288fc820ea33e09d809d8249bc73a9c"
77
+ "gitHead": "1cf2284b38246032cf3eca1046e697301d7c78e1"
78
78
  }
@@ -98,11 +98,11 @@ export const Validation = ({ issues }: ValidationProps) => {
98
98
  if (issues) {
99
99
  const grouped = issues.groupBy("severity")
100
100
  const warnings = grouped.get("warning")
101
- const errors = grouped.get("errors")
101
+ const errors = grouped.get("error")
102
102
  if (errors?.size) {
103
- return <Errors errors={errors} />
103
+ return <Errors errors={issues} />
104
104
  } else if (warnings?.size) {
105
- return <Warnings warnings={warnings} />
105
+ return <Warnings warnings={issues} />
106
106
  } else {
107
107
  return <Valid />
108
108
  }