@mjhls/mjh-framework 1.0.1082-c1 → 1.0.1082-c2
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 +2 -2
- package/dist/esm/View.js +2 -2
- package/package.json +1 -1
package/dist/cjs/View.js
CHANGED
|
@@ -1278,8 +1278,6 @@ var Article = React__default["default"].memo(React.forwardRef(function (props, r
|
|
|
1278
1278
|
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;
|
|
1279
1279
|
var href = '' + doc_url;
|
|
1280
1280
|
relatedLinks = [].concat(toConsumableArray._toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: href }]);
|
|
1281
|
-
var doc_url1 = cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.ancestor ? documentGroup.parent && !documentGroup.path.includes('/') ? !documentGroup.ancestor.includes('/') ? '/' + documentGroup.ancestor + '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : !documentGroup.ancestor.includes('/') ? documentGroup.ancestor + '/' + documentGroup.path : '/' + documentGroup.path : documentGroup.parent ? !documentGroup.path.includes('/') ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path : '/' + documentGroup.path;
|
|
1282
|
-
console.log("++++++++++++++DOC_URL1", doc_url1);
|
|
1283
1281
|
// if (documentGroup.parent) {
|
|
1284
1282
|
// relatedLinks = [
|
|
1285
1283
|
// ...relatedLinks,
|
|
@@ -1304,6 +1302,8 @@ var Article = React__default["default"].memo(React.forwardRef(function (props, r
|
|
|
1304
1302
|
}
|
|
1305
1303
|
|
|
1306
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.includes('/') ? '/' + cp.ancestor + '/' + cp.parent + '/' + cp.path : '/' + cp.parent + '/' + cp.path : !cp.ancestor.includes('/') ? cp.ancestor + '/' + cp.path : '/' + cp.path : cp.parent ? !cp.path.includes('/') ? '/' + cp.parent + '/' + cp.path : '/' + cp.path : '/' + cp.path;
|
|
1306
|
+
console.log("++++++++++++++++++++++cp url+++++++++++", cp_url1);
|
|
1307
1307
|
var href = '/' + cp_url;
|
|
1308
1308
|
relatedLinks = [].concat(toConsumableArray._toConsumableArray(relatedLinks), [{ label: cp.name, href: href }]);
|
|
1309
1309
|
});
|
package/dist/esm/View.js
CHANGED
|
@@ -1268,8 +1268,6 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1268
1268
|
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;
|
|
1269
1269
|
var href = '' + doc_url;
|
|
1270
1270
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: href }]);
|
|
1271
|
-
var doc_url1 = cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.ancestor ? documentGroup.parent && !documentGroup.path.includes('/') ? !documentGroup.ancestor.includes('/') ? '/' + documentGroup.ancestor + '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : !documentGroup.ancestor.includes('/') ? documentGroup.ancestor + '/' + documentGroup.path : '/' + documentGroup.path : documentGroup.parent ? !documentGroup.path.includes('/') ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path : '/' + documentGroup.path;
|
|
1272
|
-
console.log("++++++++++++++DOC_URL1", doc_url1);
|
|
1273
1271
|
// if (documentGroup.parent) {
|
|
1274
1272
|
// relatedLinks = [
|
|
1275
1273
|
// ...relatedLinks,
|
|
@@ -1294,6 +1292,8 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1294
1292
|
}
|
|
1295
1293
|
|
|
1296
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.includes('/') ? '/' + cp.ancestor + '/' + cp.parent + '/' + cp.path : '/' + cp.parent + '/' + cp.path : !cp.ancestor.includes('/') ? cp.ancestor + '/' + cp.path : '/' + cp.path : cp.parent ? !cp.path.includes('/') ? '/' + cp.parent + '/' + cp.path : '/' + cp.path : '/' + cp.path;
|
|
1296
|
+
console.log("++++++++++++++++++++++cp url+++++++++++", cp_url1);
|
|
1297
1297
|
var href = '/' + cp_url;
|
|
1298
1298
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: cp.name, href: href }]);
|
|
1299
1299
|
});
|