@mjhls/mjh-framework 1.0.833-d4d-52 → 1.0.833-d4d-52-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/View.js +1 -1
- package/dist/esm/View.js +1 -1
- package/package.json +1 -1
package/dist/cjs/View.js
CHANGED
|
@@ -655,7 +655,7 @@ var Article = React.forwardRef(function (props, ref) {
|
|
|
655
655
|
if (documentGroup.parent) {
|
|
656
656
|
relatedLinks = [].concat(toConsumableArray._toConsumableArray(relatedLinks), [{
|
|
657
657
|
label: documentGroup.name,
|
|
658
|
-
href: cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.parent.identifier && documentGroup.parent.identifier.current ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path
|
|
658
|
+
href: cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.parent.identifier && documentGroup.parent.identifier.current && !documentGroup.path.includes('/') ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path
|
|
659
659
|
}]);
|
|
660
660
|
}
|
|
661
661
|
});
|
package/dist/esm/View.js
CHANGED
|
@@ -645,7 +645,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
645
645
|
if (documentGroup.parent) {
|
|
646
646
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{
|
|
647
647
|
label: documentGroup.name,
|
|
648
|
-
href: cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.parent.identifier && documentGroup.parent.identifier.current ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path
|
|
648
|
+
href: cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.parent.identifier && documentGroup.parent.identifier.current && !documentGroup.path.includes('/') ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path
|
|
649
649
|
}]);
|
|
650
650
|
}
|
|
651
651
|
});
|