(cherry picked from commit 407bd2d619)
Co-authored-by: Peter Holmberg <peterholmberg@users.noreply.github.com>
This commit is contained in:
co-authored by
Peter Holmberg
parent
c5cff65563
commit
3f0e41cd93
@@ -44,7 +44,7 @@ export const Condition: FC<Props> = ({ condition, index, onChange, onRemoveCondi
|
|||||||
const onEvalFunctionChange = (evalFunction: SelectableValue<EvalFunction>) => {
|
const onEvalFunctionChange = (evalFunction: SelectableValue<EvalFunction>) => {
|
||||||
onChange({
|
onChange({
|
||||||
...condition,
|
...condition,
|
||||||
evaluator: { params: [], type: evalFunction.value! },
|
evaluator: { params: condition.evaluator.params, type: evalFunction.value! },
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user