X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/bca77b4dbbc90bc60de06bd90a20e9a46c02fcfa..ab08a8e2200157caaf73828b8459a641fff0d1e9:/src/components/data-table-filters/data-table-filters.tsx?ds=sidebyside

diff --git a/src/components/data-table-filters/data-table-filters.tsx b/src/components/data-table-filters/data-table-filters.tsx
index b2e5a74e..bede5aea 100644
--- a/src/components/data-table-filters/data-table-filters.tsx
+++ b/src/components/data-table-filters/data-table-filters.tsx
@@ -50,7 +50,7 @@ class DataTableFilter extends React.Component<DataTableFilterProps & WithStyles<
 
     render() {
         const { name, classes, children } = this.props;
-        const isActive = this.state.filters.filter(({ selected }) => !selected).length > 0;
+        const isActive = this.state.filters.some(f => f.selected);
         return <>
             <ButtonBase
                 className={classnames([classes.root, { [classes.active]: isActive }])}
