@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.
- 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,
|