@pronto-tools-and-more/components 12.30.0 → 12.31.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.js +2 -2
- package/package.json +1 -1
- package/dist/parts/CreateFakeSection/CreateFakeSection.d.ts +0 -4
- package/dist/parts/CreateFakeSection2/CreateFakeSection2.d.ts +0 -4
- package/dist/parts/FakeNode/FakeNode.d.ts +0 -5
- package/dist/parts/FakeNode2/FakeNode2.d.ts +0 -5
- package/dist/parts/UnwrapComponent/UnwrapComponent.d.ts +0 -7
package/dist/main.js
CHANGED
@@ -288,8 +288,8 @@ var getNodeInfo = (element) => {
|
|
288
288
|
readTime: `$functions.getReadTime($functions.id($context, ${contentKey}))`,
|
289
289
|
publicationDate: `$functions.id($context, ${contentKey}, 'publicationDate')`,
|
290
290
|
id: `$functions.id($context, ${contentKey}, 'id')`,
|
291
|
-
primaryCategoryId: `$functions.getPrimaryCategoryProperty($context[
|
292
|
-
primaryCategoryName: `$functions.getPrimaryCategoryProperty($context[
|
291
|
+
primaryCategoryId: `$functions.getPrimaryCategoryProperty($context[${contentKey}], 'id')`,
|
292
|
+
primaryCategoryName: `$functions.getPrimaryCategoryProperty($context[${contentKey}], 'name')`,
|
293
293
|
access: `$functions.id($context, ${contentKey}, 'access')`
|
294
294
|
};
|
295
295
|
};
|
package/package.json
CHANGED