diff --git a/packages/dataviews/src/filter-summary.js b/packages/dataviews/src/filter-summary.js index bbe0000c05dcb..6e1e3e9e2620b 100644 --- a/packages/dataviews/src/filter-summary.js +++ b/packages/dataviews/src/filter-summary.js @@ -8,7 +8,6 @@ import classnames from 'classnames'; */ import { Dropdown, - Button, __experimentalVStack as VStack, __experimentalHStack as HStack, FlexItem, @@ -133,40 +132,6 @@ function OperatorSelector( { filter, view, onChangeView } ) { ); } -function ResetFilter( { filter, view, onChangeView, addFilterRef } ) { - const isDisabled = - filter.isPrimary && - view.filters.find( ( _filter ) => _filter.field === filter.field ) - ?.value === undefined; - return ( -
- -
- ); -} - export default function FilterSummary( { addFilterRef, openedFilter, @@ -269,10 +234,6 @@ export default function FilterSummary( { - ); } } diff --git a/packages/dataviews/src/style.scss b/packages/dataviews/src/style.scss index afb5df37cc2dd..7b143958e2c16 100644 --- a/packages/dataviews/src/style.scss +++ b/packages/dataviews/src/style.scss @@ -627,11 +627,6 @@ } } -.dataviews-filter-summary__reset { - padding: $grid-unit-05; - border-top: 1px solid $gray-200; -} - .dataviews-filter-summary__chip-container { position: relative; white-space: pre-wrap;