We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 861b769 commit 51c676dCopy full SHA for 51c676d
2 files changed
src/assets/print-view/fetch-orcid.js
@@ -927,9 +927,7 @@ async function fetchOrcidRecord(orcidId) {
927
}
928
929
if (!response.ok) {
930
- throw new Error(
931
- `Failed to fetch ORCID record (${response.status}).`
932
- )
+ throw new Error(`Failed to fetch ORCID record (${response.status}).`)
933
934
935
const recordJson = await response.json()
@@ -956,10 +954,7 @@ async function loadRecord(orcidId) {
956
954
message.className = 'error'
957
955
message.textContent = error.message
958
cvRoot.appendChild(message)
959
- showStatus(
960
- `Could not load ${orcidId}.`,
961
- 'error'
962
+ showStatus(`Could not load ${orcidId}.`, 'error')
963
cvRoot.setAttribute('aria-busy', 'false')
964
965
0 commit comments