Skip to content

Commit

Permalink
[APM] Agent configuration: Bug makes it possible to create invalid co…
Browse files Browse the repository at this point in the history
…nfigurations (#65508)

* reset settings when navigate to choose-settings-step page

* reset settings when navigate to choose-settings-step page

* reset settings when navigate to choose-settings-step page
  • Loading branch information
cauemarcondes authored May 7, 2020
1 parent 19ed839 commit d935600
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ export function AgentConfigurationCreateEdit({
<ServicePage
newConfig={newConfig}
setNewConfig={setNewConfig}
onClickNext={() => setPage('choose-settings-step')}
onClickNext={() => {
resetSettings();
setPage('choose-settings-step');
}}
/>
)}

Expand Down

0 comments on commit d935600

Please sign in to comment.