@mjhls/mjh-framework 1.0.41 → 1.0.42
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 +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -674,8 +674,8 @@ var DeckContent = function (_React$Component) {
|
|
|
674
674
|
}, _this.renderCardImage = function (row, page) {
|
|
675
675
|
if (row.thumbnail && row.thumbnail.asset) {
|
|
676
676
|
return row.thumbnail.asset.url;
|
|
677
|
-
|
|
678
|
-
|
|
677
|
+
/*} else if (page === 'videos' && row.youtubeURL) {
|
|
678
|
+
return `https://img.youtube.com/vi/${getYouTubeId(row.youtubeURL)}/0.jpg`*/
|
|
679
679
|
} else {
|
|
680
680
|
return _this.defaultImage;
|
|
681
681
|
}
|