Skip to content

Commit

Permalink
Fix bug with going to a previous step after editing actions
Browse files Browse the repository at this point in the history
We never send our actions data back down to the actions form, so it was
lost if you went to a previous step.

Since the actions UI still had any connectors you created, you merely
had to reselect the throttle and the connector, but this prevents you
from having to do that.
  • Loading branch information
rylnd committed Aug 27, 2020
1 parent ad8aa60 commit b174270
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ const CreateRulePageComponent: React.FC = () => {
<EuiHorizontalRule margin="m" />
<StepRuleActions
addPadding={true}
defaultValues={stepsData.current[RuleStep.ruleActions].data}
isReadOnlyView={isStepRuleInReadOnlyView[RuleStep.ruleActions]}
isLoading={isLoading || loading}
setForm={setStepsForm}
Expand Down

0 comments on commit b174270

Please sign in to comment.