keski_lib_catalog 1.4.1 → 1.4.2
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/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -135,7 +135,7 @@ function Item(props) {
|
|
|
135
135
|
borderRadius: '100%'
|
|
136
136
|
}
|
|
137
137
|
}, /*#__PURE__*/React__default.createElement(Avatar, {
|
|
138
|
-
src: content.image.url ? content.image.url : '',
|
|
138
|
+
src: content.image ? content.image.url ? content.image.url : 'none' : 'none',
|
|
139
139
|
alt: content.title ? content.title : '',
|
|
140
140
|
sx: {
|
|
141
141
|
width: '120px',
|
|
@@ -590,7 +590,7 @@ function Layout1$3(content) {
|
|
|
590
590
|
}, /*#__PURE__*/React__default.createElement(material.CardMedia, {
|
|
591
591
|
component: "img",
|
|
592
592
|
alt: img.description ? img.description : "",
|
|
593
|
-
image: img.image.url ? img.image.url :
|
|
593
|
+
image: img.image ? img.image.url ? img.image.url : 'none' : 'none',
|
|
594
594
|
sx: {
|
|
595
595
|
width: "100%",
|
|
596
596
|
height: "100%",
|
|
@@ -857,7 +857,7 @@ function Item$2(props) {
|
|
|
857
857
|
alt: item.title ? item.title : '',
|
|
858
858
|
height: "305px",
|
|
859
859
|
width: "305px",
|
|
860
|
-
image: item.image.url ? item.image.url : 'none',
|
|
860
|
+
image: item.image ? item.image.url ? item.image.url : 'none' : 'none',
|
|
861
861
|
sx: {
|
|
862
862
|
aspectRatio: '1/1',
|
|
863
863
|
transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale : "1") + ")")
|
|
@@ -1203,7 +1203,7 @@ function Item$3(props) {
|
|
|
1203
1203
|
}
|
|
1204
1204
|
}, /*#__PURE__*/React__default.createElement(material.CardMedia, {
|
|
1205
1205
|
component: "img",
|
|
1206
|
-
image: item.image.url ? item.image.url : 'none',
|
|
1206
|
+
image: item.image ? item.image.url ? item.image.url : 'none' : 'none',
|
|
1207
1207
|
alt: item.title ? item.title : 'none',
|
|
1208
1208
|
sx: {
|
|
1209
1209
|
width: '100%',
|