@mjhls/mjh-framework 1.0.1082-404-v7 → 1.0.1082-404-v8
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
|
@@ -1275,7 +1275,7 @@ var Article = React__default["default"].memo(React.forwardRef(function (props, r
|
|
|
1275
1275
|
var doc_url = cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.ancestor ? documentGroup.parent && !documentGroup.path.includes('/') ? '/' + documentGroup.ancestor + '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.ancestor + '/' + documentGroup.path : documentGroup.parent ? !documentGroup.path.includes('/') ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '' + documentGroup.path : '' + documentGroup.path;
|
|
1276
1276
|
|
|
1277
1277
|
var href = '' + doc_url;
|
|
1278
|
-
relatedLinks = [].concat(toConsumableArray._toConsumableArray(relatedLinks), [{ label:
|
|
1278
|
+
relatedLinks = [].concat(toConsumableArray._toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: href }]);
|
|
1279
1279
|
// if (documentGroup.parent) {
|
|
1280
1280
|
// relatedLinks = [
|
|
1281
1281
|
// ...relatedLinks,
|
package/dist/esm/View.js
CHANGED
|
@@ -1265,7 +1265,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1265
1265
|
var doc_url = cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.ancestor ? documentGroup.parent && !documentGroup.path.includes('/') ? '/' + documentGroup.ancestor + '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.ancestor + '/' + documentGroup.path : documentGroup.parent ? !documentGroup.path.includes('/') ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '' + documentGroup.path : '' + documentGroup.path;
|
|
1266
1266
|
|
|
1267
1267
|
var href = '' + doc_url;
|
|
1268
|
-
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label:
|
|
1268
|
+
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: href }]);
|
|
1269
1269
|
// if (documentGroup.parent) {
|
|
1270
1270
|
// relatedLinks = [
|
|
1271
1271
|
// ...relatedLinks,
|