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

Sign up to get free protection for your applications and to get access to all the features.
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",