[ARVADOS-WORKBENCH2] updated: 1.1.4-130-g9fdaf67
Git user
git at public.curoverse.com
Fri Jun 22 09:28:04 EDT 2018
Summary of changes:
src/components/data-table-filters/data-table-filters.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 9fdaf676b641f794c73e8604e498b7d803fd1110 (commit)
from cc9505ee86539329d5ae0c4809aa293c54c2a25c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 9fdaf676b641f794c73e8604e498b7d803fd1110
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date: Fri Jun 22 15:26:37 2018 +0200
Apply fixes according to code review
Feature #13633
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
diff --git a/src/components/data-table-filters/data-table-filters.tsx b/src/components/data-table-filters/data-table-filters.tsx
index b2e5a74..bede5ae 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 }])}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list