diff --git a/frontend/src/metabase/querying/components/DatePicker/DateOperatorPicker/constants.ts b/frontend/src/metabase/querying/components/DatePicker/DateOperatorPicker/constants.ts index 472aa18a9aea4d80a0da61147b2e277840c40635..e00e302e8fff98d651769e15dea190af878b50e0 100644 --- a/frontend/src/metabase/querying/components/DatePicker/DateOperatorPicker/constants.ts +++ b/frontend/src/metabase/querying/components/DatePicker/DateOperatorPicker/constants.ts @@ -43,14 +43,4 @@ export const OPERATOR_OPTIONS: OperatorOption[] = [ value: "between", operators: ["between"], }, - { - label: t`Is empty`, - value: "is-null", - operators: ["is-null"], - }, - { - label: t`Not empty`, - value: "not-null", - operators: ["not-null"], - }, ]; diff --git a/frontend/src/metabase/querying/components/TimeseriesChrome/TimeseriesFilterPicker/TimeseriesFilterPicker.unit.spec.tsx b/frontend/src/metabase/querying/components/TimeseriesChrome/TimeseriesFilterPicker/TimeseriesFilterPicker.unit.spec.tsx index 580c61bfb514ca4467268010b84a676f25df0fd8..9b011244ba9adfe34708c37a40f7692ffc961367 100644 --- a/frontend/src/metabase/querying/components/TimeseriesChrome/TimeseriesFilterPicker/TimeseriesFilterPicker.unit.spec.tsx +++ b/frontend/src/metabase/querying/components/TimeseriesChrome/TimeseriesFilterPicker/TimeseriesFilterPicker.unit.spec.tsx @@ -76,13 +76,11 @@ describe("TimeseriesFilterPicker", () => { await userEvent.click(screen.getByText("All time")); await userEvent.click(await screen.findByDisplayValue("All time")); - await userEvent.click(await screen.findByText("Is empty")); + await userEvent.click(await screen.findByText("Current")); await userEvent.click(screen.getByText("Apply")); expect(getNextFilterParts()).toMatchObject({ - operator: "is-null", - column: expect.anything(), - values: [], + value: "current", }); });