File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export interface ActionAccordionFormProps {
5858 setHasActionsDisabled ?: ( value : boolean ) => void ;
5959 setHasActionsWithBrokenConnector ?: ( value : boolean ) => void ;
6060 actionTypeRegistry : ActionTypeRegistryContract ;
61- getDefaultActionParams : DefaultActionParamsGetter ;
61+ getDefaultActionParams ? : DefaultActionParamsGetter ;
6262}
6363
6464interface ActiveActionConnectorState {
@@ -344,7 +344,7 @@ export const ActionForm = ({
344344 messageVariables = { messageVariables }
345345 actionGroups = { actionGroups }
346346 defaultActionMessage = { defaultActionMessage }
347- defaultParams = { getDefaultActionParams ( actionItem . actionTypeId , actionItem . group ) }
347+ defaultParams = { getDefaultActionParams ?. ( actionItem . actionTypeId , actionItem . group ) }
348348 setActionGroupIdByIndex = { setActionGroupIdByIndex }
349349 onAddConnector = { ( ) => {
350350 setActiveActionItem ( { actionTypeId : actionItem . actionTypeId , index } ) ;
You can’t perform that action at this time.
0 commit comments