|
|
|
@ -46,7 +46,10 @@ export const enrichProps = async (props, context, user) => { |
|
|
|
|
|
|
|
// Enrich button actions if they exist
|
|
|
|
if (props._component.endsWith("/button") && enrichedProps.onClick) { |
|
|
|
enrichedProps.onClick = enrichButtonActions(enrichedProps.onClick) |
|
|
|
enrichedProps.onClick = enrichButtonActions( |
|
|
|
enrichedProps.onClick, |
|
|
|
totalContext |
|
|
|
) |
|
|
|
} |
|
|
|
|
|
|
|
return enrichedProps |
|
|
|
|