@mjhls/mjh-framework 1.0.61 → 1.0.62
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 +1 -1
- package/dist/index.es.js +3 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -3972,6 +3972,7 @@ var DeckContent = function (_React$Component) {
|
|
|
3972
3972
|
}
|
|
3973
3973
|
|
|
3974
3974
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
3975
|
+
var contentCategoryName = row.contentCategory ? row.contentCategory.name : 'Articles';
|
|
3975
3976
|
|
|
3976
3977
|
return React__default.createElement(
|
|
3977
3978
|
VisibilitySensor,
|
|
@@ -3988,7 +3989,7 @@ var DeckContent = function (_React$Component) {
|
|
|
3988
3989
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
3989
3990
|
React__default.createElement(
|
|
3990
3991
|
Link,
|
|
3991
|
-
{ href: _this.mapping[
|
|
3992
|
+
{ href: _this.mapping[contentCategoryName] + '/[url]', as: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
3992
3993
|
React__default.createElement(
|
|
3993
3994
|
'a',
|
|
3994
3995
|
null,
|
|
@@ -4000,7 +4001,7 @@ var DeckContent = function (_React$Component) {
|
|
|
4000
4001
|
null,
|
|
4001
4002
|
React__default.createElement(
|
|
4002
4003
|
Link,
|
|
4003
|
-
{ href: _this.mapping[
|
|
4004
|
+
{ href: _this.mapping[contentCategoryName] + '/[url]', as: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
4004
4005
|
React__default.createElement(
|
|
4005
4006
|
'a',
|
|
4006
4007
|
null,
|