Experimental filters: fix wrong type (#3856)
This commit is contained in:
parent
b0214c6454
commit
8d425700eb
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ import {
|
||||||
getLeftOperatorOptions,
|
getLeftOperatorOptions,
|
||||||
getRightOperatorOptionsByQuery,
|
getRightOperatorOptionsByQuery,
|
||||||
} from "./API/getAPIOptions";
|
} from "./API/getAPIOptions";
|
||||||
import { ConditionOption } from "./FilterElement/ConditionSelected";
|
import { ConditionValue } from "./FilterElement/ConditionSelected";
|
||||||
import { useFilterContainer } from "./useFilterContainer";
|
import { useFilterContainer } from "./useFilterContainer";
|
||||||
import { useLeftOperands } from "./useLeftOperands";
|
import { useLeftOperands } from "./useLeftOperands";
|
||||||
import { useUrlValueProvider } from "./ValueProvider/useUrlValueProvider";
|
import { useUrlValueProvider } from "./ValueProvider/useUrlValueProvider";
|
||||||
|
@ -58,7 +58,7 @@ type FilterEvent =
|
||||||
| {
|
| {
|
||||||
type: "rightOperator.onChange";
|
type: "rightOperator.onChange";
|
||||||
path: string;
|
path: string;
|
||||||
value: ConditionOption;
|
value: ConditionValue;
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
type: "rightOperator.onFocus";
|
type: "rightOperator.onFocus";
|
||||||
|
|
Loading…
Reference in a new issue