mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 08:19:07 +00:00
Update packages/core/admin/admin/src/components/Roles/RoleList/RoleRow.js
Co-authored-by: Marvin Frachet <marvin.frachet@strapi.io>
This commit is contained in:
parent
e368c5de07
commit
34879e71a0
@ -14,7 +14,7 @@ const RoleRow = ({ onToggle, id, name, description, usersCount, isChecked, icons
|
||||
|
||||
return (
|
||||
<Tr>
|
||||
{!!onToggle && (
|
||||
{Boolean(onToggle) && (
|
||||
<Td>
|
||||
<BaseCheckbox name="role-checkbox" onValueChange={() => onToggle(id)} value={isChecked} />
|
||||
</Td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user