Skip to content

Commit 51fd954

Browse files
committed
Merge branch 'hotfix/24.09.1'
2 parents df01773 + 65bae3a commit 51fd954

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,6 +2006,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
20062006
### Added
20072007
- Quick Files
20082008

2009+
[24.09.1]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/24.09.1
20092010
[24.09.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/24.09.0
20102011
[24.08.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/24.08.0
20112012
[24.07.1]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/24.07.1

app/institutions/dashboard/-components/object-list/contributors-field/component.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,14 @@ function hasInstitutionAffiliation(contributors: any[], attribution: any, instit
6464
}
6565

6666
return attributedContributor.affiliation.some(
67-
(affiliation: any) => affiliation.identifier.some(
68-
(affiliationIdentifier: any) => institutionIris.includes(affiliationIdentifier['@value']),
69-
),
67+
(affiliation: any) => {
68+
if (affiliation.identifier) {
69+
return affiliation.identifier.some(
70+
(affiliationIdentifier: any) => institutionIris.includes(affiliationIdentifier['@value']),
71+
);
72+
}
73+
return institutionIris.includes(affiliation['@id']);
74+
},
7075
);
7176
}
7277

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ember-osf-web",
3-
"version": "24.09.0",
3+
"version": "24.09.1",
44
"private": true,
55
"description": "Ember front-end for the Open Science Framework",
66
"homepage": "https://github.com/CenterForOpenScience/ember-osf-web#readme",

0 commit comments

Comments
 (0)