Skip to content

Commit

Permalink
minimize changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jan 3, 2024
1 parent 45a3df2 commit 18bf330
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,10 @@ return result$$;`.replaceAll('$$', String(filterItemsApplierId)),
);
filterItemsApplierId += 1;

return (row, shouldApplyItem) => filterItemCore(appliers, row, shouldApplyItem);
// Assign to the arrow function a name to help debugging
const filterItem: GridFilterItemApplierNotAggregated = (row, shouldApplyItem) =>
filterItemCore(apiRef.current.getRowId, appliers, row, shouldApplyItem);
return filterItem;
};

export const shouldQuickFilterExcludeHiddenColumns = (filterModel: GridFilterModel) => {
Expand Down

0 comments on commit 18bf330

Please sign in to comment.