Skip to content

Commit

Permalink
store previous operator in filter cache
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rajat19 committed Dec 11, 2024
1 parent bf1a8ce commit ae075dd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export const useGridColumnHeaders = (props: UseGridColumnHeadersProps) => {
);
if (filterModelItem != null) {
// there's a valid `filterModelItem` for this column
filterItemsCache[colDef.field].operator = filterModelItem.operator;
return filterModelItem;
}
const defaultCachedItem = filterItemsCache[colDef.field];
Expand Down

0 comments on commit ae075dd

Please sign in to comment.