@mjhls/mjh-framework 1.0.1000 → 1.0.1001
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/cjs/View.js +4 -2
- package/dist/esm/View.js +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# mjh-framework v. 1.0.
|
|
1
|
+
# mjh-framework v. 1.0.1001
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/mjh-framework) [](https://standardjs.com)
|
|
4
4
|
|
package/dist/cjs/View.js
CHANGED
|
@@ -2296,7 +2296,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
2296
2296
|
// Passing queueData to check for single article
|
|
2297
2297
|
, queueData: queueData,
|
|
2298
2298
|
showRelatedArticles: showRelatedArticles,
|
|
2299
|
-
index: index
|
|
2299
|
+
index: index,
|
|
2300
|
+
showPageNumber: article.issueGroup && article.issueGroup.parent ? article.issueGroup.parent.showPageNumber : null,
|
|
2301
|
+
showIssueNameOnly: article.issueGroup && article.issueGroup.parent ? article.issueGroup.parent.showIssueNameOnly : null
|
|
2300
2302
|
}))
|
|
2301
2303
|
);
|
|
2302
2304
|
})
|
|
@@ -2508,7 +2510,7 @@ var View = function View(props) {
|
|
|
2508
2510
|
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React__default["default"].createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
2509
2511
|
)
|
|
2510
2512
|
),
|
|
2511
|
-
!needInfiniteScroll ? React__default["default"].createElement(Article, _extends._extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus, emailList: emailList, articleRecs: articleRecs }, props)) : React__default["default"].createElement(ArticleQueue, _extends._extends({
|
|
2513
|
+
!needInfiniteScroll ? React__default["default"].createElement(Article, _extends._extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus, emailList: emailList, articleRecs: articleRecs }, props, { showIssueNameOnly: article.issueGroup && article.issueGroup.parent ? article.issueGroup.parent.showIssueNameOnly : null, showPageNumber: article.issueGroup && article.issueGroup.parent ? article.issueGroup.parent.showPageNumber : null })) : React__default["default"].createElement(ArticleQueue, _extends._extends({
|
|
2512
2514
|
infiniteScroll: true,
|
|
2513
2515
|
showRelatedArticles: showRelatedArticles,
|
|
2514
2516
|
canonicalTag: canonicalTag,
|
package/dist/esm/View.js
CHANGED
|
@@ -2286,7 +2286,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
2286
2286
|
// Passing queueData to check for single article
|
|
2287
2287
|
, queueData: queueData,
|
|
2288
2288
|
showRelatedArticles: showRelatedArticles,
|
|
2289
|
-
index: index
|
|
2289
|
+
index: index,
|
|
2290
|
+
showPageNumber: article.issueGroup && article.issueGroup.parent ? article.issueGroup.parent.showPageNumber : null,
|
|
2291
|
+
showIssueNameOnly: article.issueGroup && article.issueGroup.parent ? article.issueGroup.parent.showIssueNameOnly : null
|
|
2290
2292
|
}))
|
|
2291
2293
|
);
|
|
2292
2294
|
})
|
|
@@ -2498,7 +2500,7 @@ var View = function View(props) {
|
|
|
2498
2500
|
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React__default.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
2499
2501
|
)
|
|
2500
2502
|
),
|
|
2501
|
-
!needInfiniteScroll ? React__default.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus, emailList: emailList, articleRecs: articleRecs }, props)) : React__default.createElement(ArticleQueue, _extends({
|
|
2503
|
+
!needInfiniteScroll ? React__default.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus, emailList: emailList, articleRecs: articleRecs }, props, { showIssueNameOnly: article.issueGroup && article.issueGroup.parent ? article.issueGroup.parent.showIssueNameOnly : null, showPageNumber: article.issueGroup && article.issueGroup.parent ? article.issueGroup.parent.showPageNumber : null })) : React__default.createElement(ArticleQueue, _extends({
|
|
2502
2504
|
infiniteScroll: true,
|
|
2503
2505
|
showRelatedArticles: showRelatedArticles,
|
|
2504
2506
|
canonicalTag: canonicalTag,
|