@pronto-tools-and-more/components-renderer 10.1.0 → 10.2.0
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -12,7 +12,15 @@ export const renderCustomElementAuthorList = (element, renderElement) => {
|
|
12
12
|
language: `$functions.id($context, 'context', 'properties', 'lang')`,
|
13
13
|
imageSrc: `$functions.id($context, 'context', 'properties', 'thumbnails', 'default')`,
|
14
14
|
});
|
15
|
-
const
|
15
|
+
const condition = {
|
16
|
+
value: "$context.context.type",
|
17
|
+
operation: "EQUALS",
|
18
|
+
compareValue: "author",
|
19
|
+
};
|
20
|
+
const final = {
|
21
|
+
...renderElement(node),
|
22
|
+
condition,
|
23
|
+
};
|
16
24
|
return {
|
17
25
|
...rest,
|
18
26
|
content: final,
|