@openneuro/app 4.47.4 → 4.47.5

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.47.4",
3
+ "version": "4.47.5",
4
4
  "description": "React JS web frontend for the OpenNeuro platform.",
5
5
  "license": "MIT",
6
6
  "main": "public/client.js",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "fee430e60d713799a1c304676d0eaa758fa578ff"
82
+ "gitHead": "aad83019a0fe480d21d5997a58c8c7fe6c39cfdb"
83
83
  }
@@ -185,7 +185,7 @@ export const SnapshotContainer: React.FC<SnapshotContainerProps> = ({
185
185
  heading="Authors"
186
186
  item={
187
187
  <>
188
- {profile && !profile.scopes.includes("dataset:reviewer") &&
188
+ {profile && !isAnonymousReviewer &&
189
189
  (
190
190
  <RequestContributorButton
191
191
  dataset={dataset}