Skip to content

Commit

Permalink
Revert comment and spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
arminmeh committed Dec 16, 2024
1 parent dc8c15b commit 8363581
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,11 @@ export const useGridColumnHeaders = (props: UseGridColumnHeadersProps) => {
const filterModelItem = filterModel?.items.find(
(it) => it.field === colDef.field && it.operator !== 'isAnyOf',
);

if (filterModelItem != null) {
// there's a valid `filterModelItem` for this column
return filterModelItem;
}

const defaultCachedItem = filterItemsCache[colDef.field];

if (defaultCachedItem != null) {
// there's a cached `defaultItem` for this column
return defaultCachedItem;
Expand Down

0 comments on commit 8363581

Please sign in to comment.