@mjhls/mjh-framework 1.0.757 → 1.0.758

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # mjh-framework v. 1.0.757
1
+ # mjh-framework v. 1.0.758
2
2
  [![NPM](https://img.shields.io/npm/v/mjh-framework.svg)](https://www.npmjs.com/package/mjh-framework) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
3
3
 
4
4
  ## Install
package/dist/cjs/View.js CHANGED
@@ -587,7 +587,7 @@ var Article = function Article(props) {
587
587
  if (documentGroupMapping && documentGroupMapping.length > 0) {
588
588
  documentGroupMapping.forEach(function (documentGroup) {
589
589
  if (documentGroup.parent) {
590
- relatedLinks = [].concat(toConsumableArray._toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: cpModificationRequired ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path }]);
590
+ relatedLinks = [].concat(toConsumableArray._toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: cpModificationRequired ? getDocumentGroupUrl(documentGroup) : '/' + documentGroup.path }]);
591
591
  }
592
592
  });
593
593
  }
package/dist/esm/View.js CHANGED
@@ -577,7 +577,7 @@ var Article = function Article(props) {
577
577
  if (documentGroupMapping && documentGroupMapping.length > 0) {
578
578
  documentGroupMapping.forEach(function (documentGroup) {
579
579
  if (documentGroup.parent) {
580
- relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: cpModificationRequired ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path }]);
580
+ relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: cpModificationRequired ? getDocumentGroupUrl(documentGroup) : '/' + documentGroup.path }]);
581
581
  }
582
582
  });
583
583
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.757",
3
+ "version": "1.0.758",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",