fix(ui) - network request operator value

This commit is contained in:
Shekar Siri 2022-08-04 22:00:48 +02:00
parent a00cd7148e
commit bd28c4ea0f

View file

@ -79,7 +79,7 @@ function FilterOperator(props: Props) {
placeholder="Select"
isDisabled={isDisabled}
value={value ? options.find((i: any) => i.value === value) : null}
onChange={({ value }: any) => onChange(null, { name: 'operator', value })}
onChange={({ value }: any) => onChange(null, { name: 'operator', value: value.value })}
/>
</div>
);