MCPcopy Create free account
hub / github.com/FeatureProbe/FeatureProbe / handleChangeOperator

Function handleChangeOperator

ui/src/pages/targeting/hooks.tsx:112–115  ·  view source on GitHub ↗
(ruleIndex: number, conditionIndex: number, value: string)

Source from the content-addressed store, hash-verified

110 };
111
112 const handleChangeOperator = (ruleIndex: number, conditionIndex: number, value: string) => {
113 rules[ruleIndex].conditions[conditionIndex].predicate = '' + value;
114 saveRules([...rules]);
115 };
116
117 const handleChangeValue = (ruleIndex: number, conditionIndex: number, value: string[]) => {
118 rules[ruleIndex].conditions[conditionIndex].objects = value;

Callers 1

RuleContentFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected