@mjhls/mjh-framework 1.0.437 → 1.0.439
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/QueueDeckExpanded.js +1 -1
- package/dist/cjs/index.js +4 -2
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/dist/esm/index.js +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -420,7 +420,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
420
420
|
return renderMobileAd(index, numberOfItemsBeforeAd, rightItems);
|
|
421
421
|
}
|
|
422
422
|
|
|
423
|
-
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && article._type
|
|
423
|
+
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
424
424
|
return React__default.createElement(
|
|
425
425
|
visibilitySensor.VisibilitySensor,
|
|
426
426
|
{
|
package/dist/cjs/index.js
CHANGED
|
@@ -2013,7 +2013,9 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
2013
2013
|
end = row.end,
|
|
2014
2014
|
venues = row.venues,
|
|
2015
2015
|
_links = row._links,
|
|
2016
|
-
timezone = row.timezone
|
|
2016
|
+
timezone = row.timezone,
|
|
2017
|
+
_row$showEndDate = row.showEndDate,
|
|
2018
|
+
showEndDate = _row$showEndDate === undefined ? true : _row$showEndDate;
|
|
2017
2019
|
|
|
2018
2020
|
var now = momentTimezone$1().tz(timezone);
|
|
2019
2021
|
var isRegister = momentTimezone$1(now).isBefore(end);
|
|
@@ -2080,7 +2082,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
2080
2082
|
'p',
|
|
2081
2083
|
{ className: 'start-time', style: { padding: 0, margin: 0 } },
|
|
2082
2084
|
start.indexOf('T') >= 0 ? momentTimezone$1(start).tz(timezone).format('LLL zz') : momentTimezone$1(start).format('LL'),
|
|
2083
|
-
showEndTime
|
|
2085
|
+
showEndDate && showEndTime
|
|
2084
2086
|
)
|
|
2085
2087
|
)
|
|
2086
2088
|
),
|
|
@@ -414,7 +414,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
414
414
|
return renderMobileAd(index, numberOfItemsBeforeAd, rightItems);
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && article._type
|
|
417
|
+
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
418
418
|
return React__default.createElement(
|
|
419
419
|
VisibilitySensor,
|
|
420
420
|
{
|
package/dist/esm/index.js
CHANGED
|
@@ -2011,7 +2011,9 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
2011
2011
|
end = row.end,
|
|
2012
2012
|
venues = row.venues,
|
|
2013
2013
|
_links = row._links,
|
|
2014
|
-
timezone = row.timezone
|
|
2014
|
+
timezone = row.timezone,
|
|
2015
|
+
_row$showEndDate = row.showEndDate,
|
|
2016
|
+
showEndDate = _row$showEndDate === undefined ? true : _row$showEndDate;
|
|
2015
2017
|
|
|
2016
2018
|
var now = momentTimezone$1().tz(timezone);
|
|
2017
2019
|
var isRegister = momentTimezone$1(now).isBefore(end);
|
|
@@ -2078,7 +2080,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
2078
2080
|
'p',
|
|
2079
2081
|
{ className: 'start-time', style: { padding: 0, margin: 0 } },
|
|
2080
2082
|
start.indexOf('T') >= 0 ? momentTimezone$1(start).tz(timezone).format('LLL zz') : momentTimezone$1(start).format('LL'),
|
|
2081
|
-
showEndTime
|
|
2083
|
+
showEndDate && showEndTime
|
|
2082
2084
|
)
|
|
2083
2085
|
)
|
|
2084
2086
|
),
|