Skip to content

Commit 2d928e9

Browse files
ManoloManolo
Manolo
authored and
Manolo
committed
Update selection logic in user detail pod to enable/disable checkbox based on row selection capability
1 parent 6883749 commit 2d928e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/users/detail/user-detail.pod.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export const UserDetailPod: React.FC = () => {
150150
<Checkbox
151151
checked={row.getIsSelected() ?? false}
152152
onChange={row.getToggleSelectedHandler()}
153-
disabled={row.original.unavailable}
153+
disabled={!row.getCanSelect()}
154154
/>
155155
</TableCell>
156156
<TableCell>{row.original.id}</TableCell>

0 commit comments

Comments
 (0)