@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.
- package/dist/main.js +4 -4
- 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
|
758
|
-
const categoryName = `$functions.getPrimaryCategoryProperty($context
|
759
|
-
const categoryLanguage = `$functions.getPrimaryCategoryProperty($context
|
760
|
-
const categoryType = `$functions.getPrimaryCategoryProperty($context
|
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,
|