@openneuro/app 4.21.0 → 4.21.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.21.
|
|
3
|
+
"version": "4.21.1",
|
|
4
4
|
"description": "React JS web frontend for the OpenNeuro platform.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "public/client.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"@emotion/react": "11.11.1",
|
|
21
21
|
"@emotion/styled": "11.11.0",
|
|
22
22
|
"@niivue/niivue": "0.34.0",
|
|
23
|
-
"@openneuro/client": "^4.21.
|
|
24
|
-
"@openneuro/components": "^4.21.
|
|
23
|
+
"@openneuro/client": "^4.21.1",
|
|
24
|
+
"@openneuro/components": "^4.21.1",
|
|
25
25
|
"@tanstack/react-table": "^8.9.3",
|
|
26
26
|
"bids-validator": "1.13.0",
|
|
27
27
|
"bytes": "^3.0.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "17fab5325ea133c2a19779472a289ec2b30fa333"
|
|
74
74
|
}
|
|
@@ -110,7 +110,9 @@ export const FrontPageTopQuery = ({ query }) => {
|
|
|
110
110
|
</>
|
|
111
111
|
)
|
|
112
112
|
} else if (result.error || result.data.datasets == null) {
|
|
113
|
-
|
|
113
|
+
if (result?.error) {
|
|
114
|
+
apm.captureError(result?.error)
|
|
115
|
+
}
|
|
114
116
|
return <div>Failed to load top datasets, please try again later.</div>
|
|
115
117
|
} else {
|
|
116
118
|
// Remove any edges which could not be loaded
|
|
@@ -138,7 +140,9 @@ export const FrontPageNewQuery = ({ query }) => {
|
|
|
138
140
|
if (result.loading) {
|
|
139
141
|
return <Loading />
|
|
140
142
|
} else if (result.error || result.data.datasets == null) {
|
|
141
|
-
|
|
143
|
+
if (result?.error) {
|
|
144
|
+
apm.captureError(result?.error)
|
|
145
|
+
}
|
|
142
146
|
return <div>Failed to load top datasets, please try again later.</div>
|
|
143
147
|
} else {
|
|
144
148
|
// Remove any edges which could not be loaded
|