@openneuro/app 4.29.6 → 4.29.7
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.
|
|
3
|
+
"version": "4.29.7",
|
|
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.
|
|
23
|
+
"@openneuro/components": "^4.29.7",
|
|
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": "
|
|
77
|
+
"gitHead": "a11e8c6dfe702377946a26e9d86234593465cd04"
|
|
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("
|
|
101
|
+
const errors = grouped.get("error")
|
|
102
102
|
if (errors?.size) {
|
|
103
|
-
return <Errors errors={
|
|
103
|
+
return <Errors errors={issues} />
|
|
104
104
|
} else if (warnings?.size) {
|
|
105
|
-
return <Warnings warnings={
|
|
105
|
+
return <Warnings warnings={issues} />
|
|
106
106
|
} else {
|
|
107
107
|
return <Valid />
|
|
108
108
|
}
|