diff --git a/packages/desktop-client/src/components/filters/FilterEditor.tsx b/packages/desktop-client/src/components/filters/FilterEditor.tsx index a106787de18..d24af3aad7d 100644 --- a/packages/desktop-client/src/components/filters/FilterEditor.tsx +++ b/packages/desktop-client/src/components/filters/FilterEditor.tsx @@ -10,7 +10,7 @@ type FilterEditorProps = { field: string; op: string; value: string | number; - options: Array<[number, string]>; + options: { inflow; outflow }; onSave: (any) => void; onClose: () => void; }; diff --git a/packages/desktop-client/src/components/filters/FilterExpression.tsx b/packages/desktop-client/src/components/filters/FilterExpression.tsx index cc3b46ceaeb..d0ddff5b50e 100644 --- a/packages/desktop-client/src/components/filters/FilterExpression.tsx +++ b/packages/desktop-client/src/components/filters/FilterExpression.tsx @@ -18,7 +18,7 @@ type FilterExpressionProps = { customName: string; op: string; value: string | number; - options: Array<[number, string]>; + options: { inflow; outflow }; style?: CSSProperties; onChange: (newFilter) => void; onDelete: () => void;