[develop | DONE | FIXED]: orcidWork.ts: Added check to add openaire id as external-id in orcid claims, unless there is at least 1 identifier.
This commit is contained in:
parent
9c8ac92c91
commit
e1bf3a63cc
|
@ -141,7 +141,7 @@ export class WorkV3_0 {
|
|||
}
|
||||
}
|
||||
|
||||
if(resultLandingInfo.identifiers) {
|
||||
if(resultLandingInfo.identifiers && resultLandingInfo.identifiers.size > 0) {
|
||||
work['external-ids'] = { 'external-id': [] };
|
||||
resultLandingInfo.identifiers.forEach(((values, key) => {
|
||||
values.forEach(value => {
|
||||
|
|
Loading…
Reference in New Issue