Skip to content

Commit bccf40a

Browse files
committed
PD-5749 run lin
1 parent 1458c43 commit bccf40a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/assets/print-view/fetch-orcid.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,7 @@ function otherIdsTextNode(label, value, url) {
455455
wrapper.appendChild(document.createTextNode(')'))
456456
} else {
457457
// Otherwise, render value as text,
458-
if(value)
459-
wrapper.appendChild(document.createTextNode(value))
458+
if (value) wrapper.appendChild(document.createTextNode(value))
460459

461460
// and optionally append a (url) link if provided and safe
462461
if (safeUrl) {
@@ -572,9 +571,7 @@ function composeActivityEntryFromJson(entry, opts = {}) {
572571
idRel && idRel.toLowerCase() !== 'self'
573572
? `${localizedRel} ${idType}`.trim()
574573
: idType || STRINGS.identifier
575-
wrapper.appendChild(
576-
otherIdsTextNode(label, idValue, idUrl)
577-
)
574+
wrapper.appendChild(otherIdsTextNode(label, idValue, idUrl))
578575
})
579576
}
580577

0 commit comments

Comments
 (0)