cec-nuxt-lib 0.10.5 → 0.10.7
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/module.json
CHANGED
|
@@ -311,7 +311,7 @@ const imageWithCSS = (props2) => {
|
|
|
311
311
|
let classes = data.alignment || "";
|
|
312
312
|
classes += data.otherCss ? ` ${data.otherCss}` : "";
|
|
313
313
|
return `
|
|
314
|
-
<img src="${data
|
|
314
|
+
<img src="${data.pathOfImage || data.image.asset.sys.uri}" alt="${data.altText || data.image.altText}" class="${classes}" />
|
|
315
315
|
`;
|
|
316
316
|
};
|
|
317
317
|
const linkEntry = (data) => {
|
package/package.json
CHANGED