@pronto-tools-and-more/components 10.39.0 → 10.40.0

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.
Files changed (2) hide show
  1. package/dist/main.js +4 -4
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -754,10 +754,10 @@ var PrimaryCategory = ({
754
754
  render,
755
755
  contentKey
756
756
  }) => {
757
- const categoryId = `$functions.getPrimaryCategoryProperty($context.${contentKey ?? "content"}, 'id')`;
758
- const categoryName = `$functions.getPrimaryCategoryProperty($context.${contentKey ?? "content"}, 'name')`;
759
- const categoryLanguage = `$functions.getPrimaryCategoryProperty($context.${contentKey ?? "content"}, 'language')`;
760
- const categoryType = `$functions.getPrimaryCategoryProperty($context.${contentKey ?? "content"}, 'type')`;
757
+ const categoryId = `$functions.getPrimaryCategoryProperty($context["${contentKey ?? "content"}"], 'id')`;
758
+ const categoryName = `$functions.getPrimaryCategoryProperty($context["${contentKey ?? "content"}"], 'name')`;
759
+ const categoryLanguage = `$functions.getPrimaryCategoryProperty($context["${contentKey ?? "content"}"], 'language')`;
760
+ const categoryType = `$functions.getPrimaryCategoryProperty($context["${contentKey ?? "content"}"], 'type')`;
761
761
  const json = {
762
762
  render,
763
763
  unrender: unrender5,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "10.39.0",
3
+ "version": "10.40.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",