Skip to content

Commit

Permalink
Allow generators inside collection element
Browse files Browse the repository at this point in the history
  • Loading branch information
tolecar committed Oct 2, 2024
1 parent 444a20a commit ec9a546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Convo/Pckg/Core/CorePackageDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -1633,7 +1633,7 @@ public function createComponent( $properties, $service)
'elements' => array(
'editor_type' => 'service_components',
'editor_properties' => array(
'allow_interfaces' => array('\Convo\Core\Workflow\IConversationElement'),
'allow_interfaces' => array('\Convo\Core\Workflow\IConversationElement', '\Convo\Core\Workflow\IElementGenerator'),
'multiple' => true
),
'defaultValue' => array(),
Expand Down

0 comments on commit ec9a546

Please sign in to comment.