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.modern.js
CHANGED
|
@@ -132,7 +132,7 @@ function Item(props) {
|
|
|
132
132
|
borderRadius: '100%'
|
|
133
133
|
}
|
|
134
134
|
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
135
|
-
src: content.image.url ? content.image.url : '',
|
|
135
|
+
src: content.image ? content.image.url ? content.image.url : 'none' : 'none',
|
|
136
136
|
alt: content.title ? content.title : '',
|
|
137
137
|
sx: {
|
|
138
138
|
width: '120px',
|
|
@@ -587,7 +587,7 @@ function Layout1$3(content) {
|
|
|
587
587
|
}, /*#__PURE__*/React.createElement(CardMedia, {
|
|
588
588
|
component: "img",
|
|
589
589
|
alt: img.description ? img.description : "",
|
|
590
|
-
image: img.image.url ? img.image.url :
|
|
590
|
+
image: img.image ? img.image.url ? img.image.url : 'none' : 'none',
|
|
591
591
|
sx: {
|
|
592
592
|
width: "100%",
|
|
593
593
|
height: "100%",
|
|
@@ -854,7 +854,7 @@ function Item$2(props) {
|
|
|
854
854
|
alt: item.title ? item.title : '',
|
|
855
855
|
height: "305px",
|
|
856
856
|
width: "305px",
|
|
857
|
-
image: item.image.url ? item.image.url : 'none',
|
|
857
|
+
image: item.image ? item.image.url ? item.image.url : 'none' : 'none',
|
|
858
858
|
sx: {
|
|
859
859
|
aspectRatio: '1/1',
|
|
860
860
|
transform: "translate(\n " + item.image_transform_x + "%\n ,\n " + item.image_transform_y + "%)" + ("scale(" + (item.image_scale ? item.image_scale : "1") + ")")
|
|
@@ -1200,7 +1200,7 @@ function Item$3(props) {
|
|
|
1200
1200
|
}
|
|
1201
1201
|
}, /*#__PURE__*/React.createElement(CardMedia, {
|
|
1202
1202
|
component: "img",
|
|
1203
|
-
image: item.image.url ? item.image.url : 'none',
|
|
1203
|
+
image: item.image ? item.image.url ? item.image.url : 'none' : 'none',
|
|
1204
1204
|
alt: item.title ? item.title : 'none',
|
|
1205
1205
|
sx: {
|
|
1206
1206
|
width: '100%',
|