From 32c50a0403c1bbcddeef84c7bae51f61f74dfb37 Mon Sep 17 00:00:00 2001 From: Nick Grosenbacher Date: Thu, 9 Jan 2025 09:46:44 -0500 Subject: [PATCH] Remove check on disabled status in click handler Code review change from #1486 --- .../src/components/EntityFinder/details/view/DetailsView.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/synapse-react-client/src/components/EntityFinder/details/view/DetailsView.tsx b/packages/synapse-react-client/src/components/EntityFinder/details/view/DetailsView.tsx index 3f37f67bd9..8c8438dfe8 100644 --- a/packages/synapse-react-client/src/components/EntityFinder/details/view/DetailsView.tsx +++ b/packages/synapse-react-client/src/components/EntityFinder/details/view/DetailsView.tsx @@ -159,9 +159,7 @@ function SelectAllCheckboxRenderer(props: { checked={checked} disabled={disabled} onChange={() => { - if (!disabled) { - onSelectAll() - } + onSelectAll() }} /> )