@openneuro/app 4.4.4 → 4.4.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.4.4",
3
+ "version": "4.4.8",
4
4
  "description": "React JS web frontend for the OpenNeuro platform.",
5
5
  "license": "MIT",
6
6
  "main": "public/client.js",
@@ -19,8 +19,8 @@
19
19
  "@elastic/apm-rum": "5.9.1",
20
20
  "@emotion/react": "11.6.0",
21
21
  "@emotion/styled": "11.6.0",
22
- "@openneuro/client": "^4.4.4",
23
- "@openneuro/components": "^4.4.4",
22
+ "@openneuro/client": "^4.4.8",
23
+ "@openneuro/components": "^4.4.8",
24
24
  "babel-runtime": "^6.26.0",
25
25
  "bids-validator": "1.8.8",
26
26
  "bytes": "^3.0.0",
@@ -116,5 +116,5 @@
116
116
  "publishConfig": {
117
117
  "access": "public"
118
118
  },
119
- "gitHead": "a6ca4791ec969ac4ba32abaad584e136620b72cc"
119
+ "gitHead": "b8a034d3dc02824a74f92dbf4917a3da8f8defae"
120
120
  }
@@ -190,6 +190,7 @@ export const SNAPSHOT_FIELDS = gql`
190
190
  }
191
191
  ...SnapshotIssues
192
192
  hexsha
193
+ onBrainlife
193
194
  }
194
195
  ${SNAPSHOT_ISSUES}
195
196
  `
@@ -106,7 +106,6 @@ export const getDraftPage = gql`
106
106
  downloads
107
107
  views
108
108
  }
109
- onBrainlife
110
109
  }
111
110
  }
112
111
  ${DatasetQueryFragments.DRAFT_FRAGMENT}
@@ -145,7 +145,8 @@ const SnapshotContainer: React.FC<SnapshotContainerProps> = ({
145
145
  renderBrainLifeButton={() => (
146
146
  <BrainLifeButton
147
147
  datasetId={datasetId}
148
- onBrainlife={dataset.onBrainlife}
148
+ onBrainlife={snapshot.onBrainlife}
149
+ snapshotVersion={snapshot.tag}
149
150
  />
150
151
  )}
151
152
  renderValidationBlock={() => (