We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e18cf44 commit 43ac21aCopy full SHA for 43ac21a
packages/openneuro-app/src/scripts/validation/validation.tsx
@@ -98,11 +98,11 @@ export const Validation = ({ issues }: ValidationProps) => {
98
if (issues) {
99
const grouped = issues.groupBy("severity")
100
const warnings = grouped.get("warning")
101
- const errors = grouped.get("errors")
+ const errors = grouped.get("error")
102
if (errors?.size) {
103
- return <Errors errors={errors} />
+ return <Errors errors={issues} />
104
} else if (warnings?.size) {
105
- return <Warnings warnings={warnings} />
+ return <Warnings warnings={issues} />
106
} else {
107
return <Valid />
108
}
0 commit comments