cec-nuxt-lib 0.4.10 → 0.4.11

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.10"
4
+ "version": "0.4.11"
5
5
  }
@@ -664,9 +664,11 @@ const genList = (item, id) => {
664
664
  const myInlineEntry = (props: any) => {
665
665
  let data = props.block?.value;
666
666
  let id = props.block?.id;
667
- switch (props.block?.value.sys.contentTypeId) {
668
- case 'accordion':
669
- return accordion(data);
667
+ let entryType = props.block?.value.sys.contentTypeId;
668
+ if (entryType.startsWith('accordion')) {
669
+ return accordion(data);
670
+ }
671
+ switch (entryType) {
670
672
  case 'abbreviation':
671
673
  return abbr(data);
672
674
  case 'anchor':
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.4.10",
2
+ "version": "0.4.11",
3
3
  "name": "cec-nuxt-lib",
4
4
  "description": "Nuxt components and assets",
5
5
  "license": "MIT",