Skip to content

Commit f23a581

Browse files
Avoid DDC and other schemes in mapiingDetails (#743)
1 parent 2641bb5 commit f23a581

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/store/actions.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ export default {
347347
let url = searchLink.url + (searchLink.urlSuffix ?? "")
348348

349349
// Replace notation values
350-
const notationReplacement = notationValues.length > 0
350+
const notationReplacement = notationValues.length > 0 && searchLink.separator
351351
? notationValues.join(searchLink.separator) // Use default separator if not provided
352352
: notationValues[0]
353353

@@ -372,9 +372,8 @@ export default {
372372

373373
}
374374

375-
376375
// Add custom WebDewey links for DDC
377-
if (jskos.compare(scheme, { uri: "http://bartoc.org/en/node/241" })) {
376+
if (jskos.compare(scheme, { uri: "http://bartoc.org/en/node/241" }) && !multipleConcepts) {
378377
let recordIdPrefix = "ddc"
379378
let notation = info.notation
380379
// Adjust notation

0 commit comments

Comments
 (0)