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) (#65627)

* 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 97c0bd6 commit e3ff08c
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 e3ff08c

Please sign in to comment.