cec-nuxt-lib 0.10.6 → 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cec-nuxt-lib",
3
3
  "configKey": "cec-nuxt-lib",
4
- "version": "0.10.6",
4
+ "version": "0.10.7",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
@@ -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.pathOfImage || data.image.asset.sys.uri}" alt="${data.image.altText}" class="${classes}" />
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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.10.6",
2
+ "version": "0.10.7",
3
3
  "name": "cec-nuxt-lib",
4
4
  "description": "Nuxt components and assets",
5
5
  "license": "MIT",