fix(ui) - alert form segment selection

This commit is contained in:
Shekar Siri 2022-06-23 18:05:06 +02:00
parent bee4abeb63
commit 0034a22fd1

View file

@ -96,7 +96,7 @@ const AlertForm = props => {
primary
name="detectionMethod"
className="my-3"
onSelect={ writeOption }
onSelect={ (e, { name, value }) => props.edit({ [ name ]: value }) }
value={{ value: instance.detectionMethod }}
list={ [
{ name: 'Threshold', value: 'threshold' },