Skip to content

Commit

Permalink
Fix AddFilter: ignore operator to decide which filters to list
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Dec 4, 2023
1 parent 3819906 commit 0c14102
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/dataviews/src/add-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ export default function AddFilter( { fields, view, onChangeView } ) {
name: field.header,
elements: field.elements || [],
isVisible: view.filters.some(
( f ) =>
f.field === field.id && f.operator === OPERATOR_IN
( f ) => f.field === field.id
),
} );
}
Expand Down

0 comments on commit 0c14102

Please sign in to comment.