cec-nuxt-lib 0.4.5 → 0.4.6

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,5 +1,5 @@
1
1
  {
2
2
  "name": "cec-nuxt-lib",
3
3
  "configKey": "cec-nuxt-lib",
4
- "version": "0.4.5"
4
+ "version": "0.4.6"
5
5
  }
@@ -76,9 +76,8 @@ const accordion = (data) => {
76
76
  />
77
77
  <label for="${accId}">${e.accLabel}</label>
78
78
  <article>
79
-
80
- </article>
81
-
79
+ ${article}
80
+ </article>
82
81
  `;
83
82
  });
84
83
  html += '</section>';
@@ -617,7 +616,7 @@ const genericList = (props: any) => {
617
616
  const genList = (item, id) => {
618
617
  let heading = item.title ? `<h2 class="fs-4 mt-3">${item.title}</h2>` : '';
619
618
 
620
- return listItems.value[id]
619
+ return listItems.value[id] && listItems.value[id].length
621
620
  ? `
622
621
  ${heading}
623
622
  <ul>
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.4.5",
2
+ "version": "0.4.6",
3
3
  "name": "cec-nuxt-lib",
4
4
  "description": "Nuxt components and assets",
5
5
  "license": "MIT",