@mjhls/mjh-framework 1.0.1082-c3 → 1.0.1082-c5

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 CHANGED
@@ -1301,11 +1301,10 @@ var Article = React__default["default"].memo(React.forwardRef(function (props, r
1301
1301
  return null;
1302
1302
  }
1303
1303
 
1304
- var cp_url = cpModificationRequired ? getTargeting.getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ? cp.ancestor + '/' + cp.parent + '/' + cp.path : cp.ancestor + '/' + cp.path : cp.parent ? !cp.path.includes('/') ? cp.parent + '/' + cp.path : '' + cp.path : '' + cp.path;
1305
- var cp_url1 = cpModificationRequired ? getTargeting.getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ? cp.ancestor + '/' + cp.parent + '/' + cp.path : !cp.path.includes('' + cp.ancestor) ? cp.ancestor + '/' + cp.path : '' + cp.path : cp.parent ? !cp.path.includes('/') ? cp.parent + '/' + cp.path : '' + cp.path : '' + cp.path;
1304
+ cpModificationRequired ? getTargeting.getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ? cp.ancestor + '/' + cp.parent + '/' + cp.path : cp.ancestor + '/' + cp.path : cp.parent ? !cp.path.includes('/') ? cp.parent + '/' + cp.path : '' + cp.path : '' + cp.path;
1305
+ var cp_url1 = cpModificationRequired ? getTargeting.getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ? cp.ancestor + '/' + cp.parent + '/' + cp.path : !cp.path.includes(cp.ancestor) ? cp.ancestor + '/' + cp.path : '' + cp.path : cp.parent ? !cp.path.includes('/') ? cp.parent + '/' + cp.path : '' + cp.path : '' + cp.path;
1306
1306
  console.log("++++++++++++++++++++++cp url+++++++++++", cp_url1);
1307
- console.log("validate", cp.path.includes('' + cp.ancestor));
1308
- var href = '/' + cp_url;
1307
+ var href = '/' + cp_url1;
1309
1308
  relatedLinks = [].concat(toConsumableArray._toConsumableArray(relatedLinks), [{ label: cp.name, href: href }]);
1310
1309
  });
1311
1310
  }
package/dist/esm/View.js CHANGED
@@ -1291,11 +1291,10 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1291
1291
  return null;
1292
1292
  }
1293
1293
 
1294
- var cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ? cp.ancestor + '/' + cp.parent + '/' + cp.path : cp.ancestor + '/' + cp.path : cp.parent ? !cp.path.includes('/') ? cp.parent + '/' + cp.path : '' + cp.path : '' + cp.path;
1295
- var cp_url1 = cpModificationRequired ? getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ? cp.ancestor + '/' + cp.parent + '/' + cp.path : !cp.path.includes('' + cp.ancestor) ? cp.ancestor + '/' + cp.path : '' + cp.path : cp.parent ? !cp.path.includes('/') ? cp.parent + '/' + cp.path : '' + cp.path : '' + cp.path;
1294
+ cpModificationRequired ? getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ? cp.ancestor + '/' + cp.parent + '/' + cp.path : cp.ancestor + '/' + cp.path : cp.parent ? !cp.path.includes('/') ? cp.parent + '/' + cp.path : '' + cp.path : '' + cp.path;
1295
+ var cp_url1 = cpModificationRequired ? getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ? cp.ancestor + '/' + cp.parent + '/' + cp.path : !cp.path.includes(cp.ancestor) ? cp.ancestor + '/' + cp.path : '' + cp.path : cp.parent ? !cp.path.includes('/') ? cp.parent + '/' + cp.path : '' + cp.path : '' + cp.path;
1296
1296
  console.log("++++++++++++++++++++++cp url+++++++++++", cp_url1);
1297
- console.log("validate", cp.path.includes('' + cp.ancestor));
1298
- var href = '/' + cp_url;
1297
+ var href = '/' + cp_url1;
1299
1298
  relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: cp.name, href: href }]);
1300
1299
  });
1301
1300
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.1082-c3",
3
+ "version": "1.0.1082-c5",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",