@mjhls/mjh-framework 1.0.545 → 1.0.546
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
CHANGED
|
@@ -193,7 +193,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
193
193
|
'div',
|
|
194
194
|
null,
|
|
195
195
|
seriesData && seriesData.map(function (docSeries, index) {
|
|
196
|
-
if (docSeries.body.length > 0 && docSeries.body[0].videos) {
|
|
196
|
+
if (docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos) {
|
|
197
197
|
docSeries.body[0].videos.map(function (singleVideo, indexInner) {
|
|
198
198
|
singleVideo.link = '/view/' + docSeries.url.current + '?seriesVid=' + (indexInner + 1);
|
|
199
199
|
});
|
|
@@ -216,7 +216,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
216
216
|
)
|
|
217
217
|
)
|
|
218
218
|
),
|
|
219
|
-
docSeries.body.length > 0 && docSeries.body[0].videos ? React__default.createElement(YoutubeGroup, _extends._extends({ key: index, dataset: docSeries.body[0].videos }, _this.props)) : React__default.createElement(
|
|
219
|
+
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos ? React__default.createElement(YoutubeGroup, _extends._extends({ key: index, dataset: docSeries.body[0].videos }, _this.props)) : React__default.createElement(
|
|
220
220
|
'p',
|
|
221
221
|
null,
|
|
222
222
|
'No Video Found.'
|
|
@@ -187,7 +187,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
187
187
|
'div',
|
|
188
188
|
null,
|
|
189
189
|
seriesData && seriesData.map(function (docSeries, index) {
|
|
190
|
-
if (docSeries.body.length > 0 && docSeries.body[0].videos) {
|
|
190
|
+
if (docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos) {
|
|
191
191
|
docSeries.body[0].videos.map(function (singleVideo, indexInner) {
|
|
192
192
|
singleVideo.link = '/view/' + docSeries.url.current + '?seriesVid=' + (indexInner + 1);
|
|
193
193
|
});
|
|
@@ -210,7 +210,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
210
210
|
)
|
|
211
211
|
)
|
|
212
212
|
),
|
|
213
|
-
docSeries.body.length > 0 && docSeries.body[0].videos ? React__default.createElement(YoutubeGroup, _extends({ key: index, dataset: docSeries.body[0].videos }, _this.props)) : React__default.createElement(
|
|
213
|
+
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos ? React__default.createElement(YoutubeGroup, _extends({ key: index, dataset: docSeries.body[0].videos }, _this.props)) : React__default.createElement(
|
|
214
214
|
'p',
|
|
215
215
|
null,
|
|
216
216
|
'No Video Found.'
|