@mjhls/mjh-framework 1.0.1082-rl-v2 → 1.0.1082-rl-v3
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 +3 -3
- package/dist/esm/View.js +3 -3
- package/package.json +1 -1
package/dist/cjs/View.js
CHANGED
|
@@ -1302,9 +1302,9 @@ var Article = React__default["default"].memo(React.forwardRef(function (props, r
|
|
|
1302
1302
|
return null;
|
|
1303
1303
|
}
|
|
1304
1304
|
|
|
1305
|
-
var cp_url = cpModificationRequired ? getTargeting.getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ?
|
|
1306
|
-
|
|
1307
|
-
|
|
1305
|
+
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;
|
|
1306
|
+
var href = '/' + cp_url;
|
|
1307
|
+
console.log("cp_url----------------------------", href);
|
|
1308
1308
|
relatedLinks = [].concat(toConsumableArray._toConsumableArray(relatedLinks), [{ label: cp.name, href: href }]);
|
|
1309
1309
|
});
|
|
1310
1310
|
}
|
package/dist/esm/View.js
CHANGED
|
@@ -1292,9 +1292,9 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1292
1292
|
return null;
|
|
1293
1293
|
}
|
|
1294
1294
|
|
|
1295
|
-
var cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ?
|
|
1296
|
-
|
|
1297
|
-
|
|
1295
|
+
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;
|
|
1296
|
+
var href = '/' + cp_url;
|
|
1297
|
+
console.log("cp_url----------------------------", href);
|
|
1298
1298
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: cp.name, href: href }]);
|
|
1299
1299
|
});
|
|
1300
1300
|
}
|