[APM] Agent configuration: Bug makes it possible to create invalid configurations (#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
This commit is contained in:
parent
19ed83958f
commit
d935600645
|
@ -132,7 +132,10 @@ export function AgentConfigurationCreateEdit({
|
|||
<ServicePage
|
||||
newConfig={newConfig}
|
||||
setNewConfig={setNewConfig}
|
||||
onClickNext={() => setPage('choose-settings-step')}
|
||||
onClickNext={() => {
|
||||
resetSettings();
|
||||
setPage('choose-settings-step');
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
|
Loading…
Reference in a new issue