Skip to content

Commit

Permalink
Rename grid filter "Operator" -> "Condition"
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Oct 18, 2024
1 parent 1867c75 commit 0ae8336
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Grid/DefaultDataGridStyles.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import { Box, FormControl, TextFieldProps } from '@mui/material';
import type {
import {
DataGridProProps as DataGridProps,
GRID_DEFAULT_LOCALE_TEXT,
GridColDef,
} from '@mui/x-data-grid-pro';
import { mapEntries } from '@seedcompany/common';
import { Sx } from '../../common';

GRID_DEFAULT_LOCALE_TEXT.filterPanelOperator = 'Condition';

const scrollIntoView: DataGridProps['onMenuOpen'] = ({ target }) => {
target?.closest('.MuiDataGrid-root')?.scrollIntoView({ block: 'center' });
};
Expand Down

0 comments on commit 0ae8336

Please sign in to comment.