Skip to content

Commit

Permalink
Merge branch 'hotfix/24.09.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
mfraezz committed Nov 21, 2024
2 parents df01773 + 65bae3a commit 51fd954
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2006,6 +2006,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- Quick Files

[24.09.1]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/24.09.1
[24.09.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/24.09.0
[24.08.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/24.08.0
[24.07.1]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/24.07.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,14 @@ function hasInstitutionAffiliation(contributors: any[], attribution: any, instit
}

return attributedContributor.affiliation.some(
(affiliation: any) => affiliation.identifier.some(
(affiliationIdentifier: any) => institutionIris.includes(affiliationIdentifier['@value']),
),
(affiliation: any) => {
if (affiliation.identifier) {
return affiliation.identifier.some(
(affiliationIdentifier: any) => institutionIris.includes(affiliationIdentifier['@value']),
);
}
return institutionIris.includes(affiliation['@id']);
},
);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-osf-web",
"version": "24.09.0",
"version": "24.09.1",
"private": true,
"description": "Ember front-end for the Open Science Framework",
"homepage": "https://github.com/CenterForOpenScience/ember-osf-web#readme",
Expand Down

0 comments on commit 51fd954

Please sign in to comment.